Professional Web Applications Themes

onclick - Coldfusion - Getting Started

What is going with mine code ??. When I select page2 from radio button, I should have "form2" display on the page but it seems to me nothing happend. what did I do wrong here? thanks...

  1. #1

    Default onclick

    What is going with mine code ??. When I select page2 from radio button, I should have "form2" display on the page but it seems to me nothing happend. what did I do wrong here?

    thanks
    kt03 Guest

  2. #2

    Default Re: onclick

    You're not actually submitting the form, which is why redirect equals "" when
    you click on the page2 radio.

    In order for form fields to be passed, the form has to be submitted. doing a
    location.href in javascript doesn't accomplish this. What you could do is set
    the action on your form to test.cfm, then have the onClick() for your radio
    buttons just submit the form (doent.form1.submit();)

    Kronin555 Guest

Similar Threads

  1. onClick question
    By GLAS III in forum Macromedia Dynamic HTML
    Replies: 2
    Last Post: August 31st, 11:34 AM
  2. How do you set up the OnClick with ASP 2.0 ?
    By guy in forum ASP.NET Building Controls
    Replies: 4
    Last Post: November 7th, 06:26 PM
  3. Onclick event
    By delali in forum Macromedia Contribute General Discussion
    Replies: 1
    Last Post: October 7th, 10:20 PM
  4. cfgrid and onclick
    By Dr_JayKay in forum Coldfusion - Advanced Techniques
    Replies: 0
    Last Post: April 6th, 01:02 PM
  5. OnClick problem
    By Andu in forum PHP Development
    Replies: 0
    Last Post: July 10th, 06:49 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139