SEO Software
Closed Thread
Results 1 to 5 of 5

Thread: Need help please

  1. #1

    Default Need help please

    Hi,

    I am using code to set focus on the field

    var elements = document.getElementById('menumain').childNodes;
    elements[1].focus();

    It is working fine in Fire fox but not in Internet Explorer
    can anybody help please?

    Thanks


  2. #2

    Default

    Remove the ".childNodes" attribute; Internet Explorer does not support it.

    And instead of calling your field through an object, give the actual object that you want focused an ID, than call it like this:

    Code:
    document.getElementById("myobject").focus();
    You have the correct method, but the incorrect way of calling the method.

  3. #3

    Default

    I am not sure but i think hat you have you wrong method of setting the focus. try the below code. I think it might help you in internet explorer

    document.getElementById("myobject").focus();

  4. #4

    Default

    this can be done in asp.net and vb.net by using the any asp.net control's focus property.

  5. #5

    Arrow

    you have two option for that nikon......
    use asp.net or use visual basic (vb.net)....
    by using the focus property you can do that.....

Closed Thread

Bookmarks

Posting Permissions

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