User Profile

Collapse

Profile Sidebar

Collapse
Annie Herman
Annie Herman
Last Activity: Jul 24 '11, 07:38 PM
Joined: Jul 24 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thanks for your answer. I was hoping to use something similar to this script:

    Code:
    function checkInput(){
    	var val = document.getElementById('myText').value;
    	var myForm = document.getElementById('myForm');
    	if(val=="valueX")
    	myForm.action="page1.html";
    			else
    					myForm.action="page2.html";
    			}
    But I'd need to validate all the radio buttons first and...
    See more | Go to post
    Last edited by Dormilich; Jul 24 '11, 07:40 PM. Reason: please use [CODE] [/CODE] tags when posting code

    Leave a comment:


  • Javascript -- go to URL based on radion button sets selection

    Hello, I'd trying to write a script that would on clicking submit go to various URLs based on selected radio buttons. I have three sets of radio buttons, and depending on the combination (one button from every set), there will be a different .html page to go on submit.
    Is it possible?
    I an new to javascript and appreciate any help/directions!...
    See more | Go to post
No activity results to display
Show More
Working...