Button click

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Dark_AngeL
Forum Commoner
Posts: 39
Joined: Tue Feb 21, 2006 5:16 am

Button click

Post by Dark_AngeL »

Hi

If i want the user to go to another page when he clicks on the button what should i do
will it be

Code: Select all

onclick =  " "

Code: Select all

<td class="style58"><div align="left" class="style62">Sender Name:
                <select name="select" size="0" class="style49">
                  <option value="1">Gerardo</option>
                  <option value="2">Waldemar</option>
                </select>
                <input name="Submit" type="submit" class="style49" value="New Sender">
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

Code: Select all

onclick="window.location = 'http://www.google.com'"
but this is not php, please post client side questions in the client side form next time
Dark_AngeL
Forum Commoner
Posts: 39
Joined: Tue Feb 21, 2006 5:16 am

Post by Dark_AngeL »

sorry i didnt know :oops:
Post Reply