thats fine. I know about user controls and asp.net forum
Just wanted to solve my issue through javascript itself.
So just wanted some suggestions and inputs for my code that I implemented.
Hey 1Oracle
I am using asp.net and not html checkboxes so there is no group key property in that.
I have the code which works good if I have one question with 5 multiple choices in the page.
But that code gives me problem with 2 multiple questions on the page. Here is the code which you might...
actually there was some problem with the thread so I had to start with the new one.
Also I had some problem with the code I implemented.
If you see my code. I am doing :
document.getElementsByTagName('input');
and then checking oInputs[i].type == 'checkbox'
and the problem comes if you have 2...
sorry I did not write that code. I am not very well versed with javascript thats why I was not able to understand that post. I am modifying some site that was written by some other coder but was IE specific only. So thats why I needed some help.
Thanks all the above code did solve my purpose.
I had my previous post where I had a function which was not working for firefox.
Now to elaborate what I want to do is:
I am dynamically creating checkbox.
Say I have 5 checkbox and I want to achieve mutual exclusiveness in those check boxes.
Example:
my checboxes:
a
b
c
d<mex>
Now what I...
I made some modification .
Here is the code:
<script type="text/javascript">
var checkBoxes = new Array;
function setup(e)
{
debugger;
var oInputs = document.getElementsByTagName('input');
for ( i = 0; i < oInputs.length; i++ )
{
// loop...
Hi I have the following code that works for IE but does not for firefox or netscape. Can anyone help me convert this for firefox compatible thanks.
<script type="text/javascript">
var checkBoxes = new Array;
function setup()
{
debugger;
var oInputs =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.