Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Object does not support this property or method error

    Hi All;
    I stuck in a strange problem.

    I am having a javascript error suddenly from nowhere stating that the object doesn’t support this property or method.

    I was not coming sometime before and there is absolutely no code changes.

    Moreover the same code is running on server.

    I cannot run it on my localhost due to the error, I tried restarting the project and machine restarting the services and restarting the IIS as well.

    wsName = document.getElementById('cboCountry');

    parent.MapFrame.storeMapServiceName(wsName.value);//error ic coming here.

    I put an alert before the second line
    alert(wsName.value); it is showing me the correct value.

    I enabled script debuggig it shows that parent.Mapframe is undefined.
    How come? the same code is running elsewhere and it was runnig on my machine as well a while before.
    cboCountry is the dropdownlist ID,
    I am using IE6, can any body find time to help me and provide me the resolution asap.
    reagrds
    amit

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,801
    Thanks
    160
    Thanked 2,216 Times in 2,203 Posts
    Blog Entries
    1
    Post the complete markup(HTML+javascript) or a link would be more useful.

    PS: please wrap your code in [code][/code] while posting here.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •