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
    Regular Coder
    Join Date
    Sep 2006
    Location
    India Mumbai
    Posts
    248
    Thanks
    13
    Thanked 1 Time in 1 Post

    Form fields getting disabled in IE

    Hi all,
    i have a web page (php) in which i am loading horizontal tabs. onclick of every tab, i am loading different iframes (setting their z-Index to top value onclick).
    but many a times i am facing a serious problem in IE. the form fields get disabled through mouse. if i go by tab from keyboard it works, but click by mouse doesnt happen.

    what could be the issue?

    this is the javascript on click
    function LoadServicesTab() {
    document.getElementById("holdServicesTab").style.visibility="visible";
    document.getElementById("holdInstructionsTab").style.visibility="hidden";
    document.getElementById("holdServicesTab").zIndex="100";
    }

    Doc type is as below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


    Thanks
    Last edited by bhakti_thakkar; 10-20-2009 at 11:19 AM.

  • #2
    Regular Coder
    Join Date
    Sep 2006
    Location
    India Mumbai
    Posts
    248
    Thanks
    13
    Thanked 1 Time in 1 Post
    Yes finally i got it

    I had not defined the style well in JS

    it should be
    document.getElementById("holdServicesTab").style.zIndex="100";
    instead of this:
    document.getElementById("holdServicesTab").zIndex="100";


    I had missed the style keyword

    Thanks


  •  

    Posting Permissions

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