I want to generate a JavaScript picture viewer that will allow the user to click to next or previous icon and show the next or previous picture in place of the default picture. You can get a general idea of what I am referring to here:
http://www.cnn.com/2007/POLITICS/02/08/cia.leak/index.html...
There is a problem with that though. Once a selection has been made with a radio button, you can't uncheck it to enable the other form elements. So once you have made your selection for say "choice1", once you disable the choice1 fields, you cannot re-enable them. With a checkbox you can...
One more comment. If the check box is unchecked, I want ALL disabled checkboxes to be enabled once again, that includes ALL in the corresponding column and those in the other two or one columns.
One more thing to add... the check boxes will be created on the fly. The names will always change, but the suffix will always be "_1", "_2", and "_3". The names of the checkboxes will be something such as:
Column 1:
BSX_1
CAT_1
JOY_1
PFE_1
Column 2:
BSX_2
CAT_2
JOY_2
PFE_2
Column 3:
BSX_3...
I am trying to create an application that allows me to disable check boxes based on a users selection of other check boxes. I have 7 different choices for a check box, and those 7 different choices can be ranked 1 - 3 ONLY once. So, for instance, of the 7 choices, you can only choose the...
The code you pasted works on my PC offline, but it does not work on the actual website. What form properties do I need to include? I have the form named, but where do I need to submit the forms to? You can check out the website at the following URL...
In that last sample of code, where would I place each of those pieces of code? In the frame with the radio buttons or the frame with the submit button?
Below is the code that I am currently using:
<script type="text/javascript">
<!--
function setValue()
{
var selectedValue = "";
var radios = document.forms[0].elements['radios'];
if (!radios)
{
alert("No radio buttons found!");
return;
}
if (!radios.length)...
I have a window that is popped up when the user clicks "Select Image." Inside of that window contains 2 frames. One of the frames has radio buttons and the other frame has the submit button for those radio buttons. When the user selects which radio button and clicks submit, I want the value...
Yes, but when are we calling the function "setValue();"? I need this function to be called when you submit the button, correct? Currently when I press the submit button, it does nothing. If you goto the website I posted above and view the code, you will see waht is going on. Or I can paste...
In reply to my original post. If you guys goto the following website, you will see the problem I am having.
http://www.outdoormarketing.org/products/viewProduct.asp?category=Awards&itemNum=acrlicplq
Click on "Select Image" on the right hand side of the page.
Thanks for your help.
I asked this question earlier, but here is my problem. I have a popup window with a frameset. In one frame I have radio buttons and in the other frame, I have the submit button for those radio buttons. How do I link these two forms together? I have an onsubmit button that passes the values...
I have a window, and within this window, I have a frameset. One of the pages in the framset has a form with radio buttons. The other page in the framset has the submit button for these radio buttons. How do I link these two forms together to be submitted as one? Is this even possible?
In response to my original post, I will paste the code that I am using as well as the website that I am trying to incorporate this into:
Website (On the right, click "Select Image"):
http://www.outdoormarketing.org/products/viewProduct.asp?category=Awards&itemNum=acrlicplq
Code:
<script...
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.