javacript functions

Results 1 to 2 of 2

Thread: javacript functions

  1. #1
    Join Date
    Dec 1969

    Default javacript functions

    I have a page with two radio buttons, and when one of the radio buttons is clicked i want to load a form.<BR><BR>i.e. if radio button 1 is clicked - form a will be loaded<BR> or if radio button 2 is clicked - form b will be loaded.<BR><BR>The forms will not be visible is will just be the radio buttons. i think that i have to use a javascript function with an if statement, but am unsure of the syntax. <BR><BR>any ideas?<BR><BR>Any help would be greatly appreciated<BR><BR>thanks

  2. #2
    Join Date
    Dec 1969

    Default Why not just make...

    .. two different pages.<BR><BR>Then, you can do:<BR>&#060;input type="radio" onClick="document.location.href = &#039;form1.asp&#039;;"&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts