Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Mar 1st, 2006, 4:23 AM   #1
Heba
Newbie
 
Join Date: Feb 2006
Posts: 18
Rep Power: 0 Heba is on a distinguished road
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">
Heba is offline   Reply With Quote
Old Mar 1st, 2006, 6:08 AM   #2
Polyphemus_
Expert Programmer
 
Polyphemus_'s Avatar
 
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4 Polyphemus_ is on a distinguished road
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.
Polyphemus_ is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:55 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC