472,784 Members | 966 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,784 software developers and data experts.

div form radio buttons non-functional in IE

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
Jul 23 '05 #1
1 2016
Stephen Chalmers wrote:
"Paul THompson" <pa**@wubios.wustl.edu> wrote in message
news:a7**************************@posting.google.c 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.
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: JDS | last post by:
Hi, all. I'd like to do the following, preferably *without* resorting to JavaScript: I have a long, dynamically-generated form questionnaire. Not all of the form fields are dynamically...
10
by: Andres Eduardo Hernando | last post by:
Hi, I'm not entirely sure this is the right group to ask this question, but I saw a similar one above, and the group's charter is not clear enough about it, so, here I go: ;) What is the...
1
by: Rick | last post by:
After being frustrated with this issue on several occasions I think I found the secret sauce for solving the issue after reading a few different messages about what others thought and trying a...
1
by: sman | last post by:
Hi, I recently read this article on About.com on how to create required fields for a form: http://javascript.about.com/library/scripts/blformvalidate.htm Everything works great except that there...
11
by: Jon Hoowes | last post by:
Hi, I have inherited some code that has some form elements (radio buttons) that are called "1", "2" etc. for example: <input name="2" type="radio" value="45"> <input name="2" type="radio"...
3
by: Ferret Face | last post by:
Hello, I have a web page that gets the user to select items from a list of options. This list is a set of independant Radio Buttons. I did not use a Radio Button List because I wanted the...
1
by: Dave Harris | last post by:
I am a raw newbie to VB.NET trying to convert a data processing QuickBasic program into .NET. I have about 14 forms, the first of which has a bank of radio buttons identifying the airline. The...
2
by: James P. | last post by:
Help, I need to display radio buttons on a form. The data is from SQL table: each row in each table is displayed as a radio button. I have multiple SQL tables so I understand I need to put...
2
by: NishSF | last post by:
Would anyone have any suggestions/javascript code so that if one clicks the Radio Button "Yes" below he has the option of selecting any of the six CheckBox below. If the user clicks on Radio Button...
11
by: Twayne | last post by:
Hi, Newbie to PHP here, no C or other relevant background, so pretty niave w/r to the nuances etc. but I think this is pretty basic. XP Pro, SP2+, PHP 4.4.7, XAMPP Local Apache Server...
0
by: Rina0 | last post by:
Cybersecurity engineering is a specialized field that focuses on the design, development, and implementation of systems, processes, and technologies that protect against cyber threats and...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.