...

View Full Version : Form fields getting disabled in IE



bhakti_thakkar
10-20-2009, 09:43 AM
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

bhakti_thakkar
10-20-2009, 10:22 AM
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



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum