Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > div form radio buttons non-functional in IE

Reply
Thread Tools

div form radio buttons non-functional in IE

 
 
Paul THompson
Guest
Posts: n/a
 
      06-26-2004
I am using IE to hide sections of a form. When I display the first
section (name='ea'), the form widgets are not clickable in IE nor do
they accept focus. When I display the 3rd section (name='ec'), the
items in all sections become clickable/accept focus. Has anyone ever
seen anything like this?

There are no problems at all in NN/Firefox/Mozilla.

Here is some of the code - there is rather a lot, so I just display
some of it:

First div section (cut way down)

<div id="ea" style="position:absolute;top:200px;left:5px;visibi lity:hidden;">
<FORM NAME="zxea" METHOD="POST">
<<TABLE BORDER>
<TR>
<TD><INPUT TYPE="RADIO" OnClick="resetHist();jmpT('_cysta[0]');"
onFocus="GAr(13);iam='_hpkdyn[0]';nxitm='_cysta[0]';"
onBlur="RAr(13);" NAME="_hpkdyn" VALUE="1" &_yhpkdyn1>Yes
<IMG
SRC="&_jsrc./blank.gif"
name="Pointer14" width="15">
<INPUT TYPE="RADIO" OnClick="fixHist();jmpT('_nhcyst[0]');"
onFocus="GAr(14);iam='_hpkdyn[1]';nxitm='_nhcyst[0]';"
onBlur="RAr(14);" NAME="_hpkdyn" VALUE="0" &_yhpkdyn0>No </TD>
</TR>
</TABLE>
</FORM>
</DIV>

Second div section (cut way down)

<div id="eb" style="position:absolute;top:200px;left:5px;visibi lity:hidden;">
<FORM NAME="zxeb" METHOD="POST">
<TABLE BORDER>
<TR>
<TH ALIGN="left" COLSPAN="24">6. Next</TH>
<TD>
<INPUT TYPE="RADIO" OnClick="jmpT('_bpcyn[0]');"
onFocus="GAr(25);iam='_nhcyst[0]';nxitm='_bpcyn[0]';"
onBlur="RAr(25);" NAME="_nhcyst" VALUE="1" &_ynhcyst1>Yes
<INPUT TYPE="RADIO" OnClick="jmpT('_bpcyn[0]');"
onFocus="GAr(26);iam='_nhcyst[1]';nxitm='_bpcyn[0]';"
onBlur="RAr(26);" NAME="_nhcyst" VALUE="2" &_ynhcyst2>No
</TD>
</TR>
</TABLE>
</FORM>
</DIV>

Third div section (cut way down)

<div id="ec" style="position:absolute;top:200px;left:5px;visibi lity:hidden;">
<FORM NAME="zxec" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="_program" VALUE="&_prglb..&_prgnm..sas">
<INPUT TYPE="HIDDEN" NAME="_server" VALUE="&_servname">
<p><b>EXCLUSION CRITERIA</b></p>
<TABLE BORDER>
<TR>
<TH ALIGN="left">1. If the participant is female:</TH>
<TD>
<INPUT TYPE="CHECKBOX" OnClick="jmpT('_ervd[0]');"
onFocus="GAr(61);iam='_femna[0]';nxitm='_preg[0]';"
onBlur="RAr(61);" NAME="_femna" VALUE="1" &_yfemna1>N/A</TD>
</TABLE>
</FORM>
</DIV>

the div sections are made visible by

function togVis(v,name) {
var myVis=document.getElementById(name)
myVis.style.visibility=v : "visible" ? "hidden";
}

where name gets the name of the div section and v is either true or
false
 
Reply With Quote
 
 
 
 
Paul Thompson
Guest
Posts: n/a
 
      06-28-2004
Stephen Chalmers wrote:
> "Paul THompson" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed) om...
>
>>I am using IE to hide sections of a form. When I display the first
>>section (name='ea'), the form widgets are not clickable in IE nor do
>>they accept focus. When I display the 3rd section (name='ec'), the
>>items in all sections become clickable/accept focus. Has anyone ever
>>seen anything like this?
>>
>>There are no problems at all in NN/Firefox/Mozilla.

>
>
> Are the different sections overlaid on the page? If so, you may need to set
> the zIndex value of the visible layer to a higher value than the others.
>
> --
> S.C.
>
>


Thanks for that suggestion. I tried to set all the zindex values for
all div sections to 1, and the zindex for the visible section to 2, but
this did not alter the defective behavior.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<div ... /> and <div ...></div> K Viltersten ASP .Net 4 03-31-2009 07:33 PM
Created Radio Buttons displaying as if they were conventional buttons Dr. Leff Javascript 3 10-15-2007 09:47 PM
Created Radio Buttons displaying as if they were conventional buttons Dr. Leff Javascript 3 10-15-2007 05:18 AM
ASP.NET Reset Radio Button in a group of Radio Buttons Scott D Johnson ASP .Net 1 09-27-2006 10:38 PM
Q: Div A inside Div B is larger than Div B Dwayne Madsen Javascript 1 06-01-2005 03:02 PM



Advertisments