![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Feb 2006
Posts: 18
Rep Power: 0
![]() |
Button click
Hi
If i want the user to go to another page when he clicks on the button what should i do will it be onclick = " " <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"> |
|
|
|
|
|
#2 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
Wrap your controlthingies into a form:
<form action="the_page_you_have_to_go.php" method="get"> <!-- use either get or post. Get uses the URL to send information, post does not. --> So here goes the content of the form... </form> When a user clicks submit, your browser will go to the file specified in the action part of the form tag. I recommend learning about forms and stuff, because you have clearly little or no idea what you are actually doing. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|