PDA

View Full Version : HTML Question


Neo
09-23-2002, 10:12 AM
Alright.. while Neo is programming guru he really doesnt care that much about anything related to HTML even though I could make a cake with it... but what I need it help with a submit button..

Now while this submit button would send me to the page and parse the entered info

<input type="submit">

I want one that would send me to another page.. or take a different action... but I have no clue how to do this..

Thanks for your time and money and teenage sister
- Neo

Ninth Dimension
09-23-2002, 10:16 AM
I think you will need to change the <form> tag to make this happen, try this:

<form method=post action=addgame.php>

where addgame.php is the location of the file you want the info to be sent to :)

Ninth Dimension
09-23-2002, 10:17 AM
BTW, as you might have seen, I don't use " marks arround the elements in HTML unless the element has a space in it, such as

<img alt="hello world">

/me holds hand out to be slapped

Neo
09-25-2002, 05:31 AM
Hmmm... good point. I never really though of that. Thank you. :)

zajako
09-26-2002, 07:03 PM
<input type=button> :P

use some javascripting to make it do something :P

<input type=button onClick="OpenPage()"> :P

Neo
09-27-2002, 12:01 AM
Ture.. I got another question. I have seen it when you go over a link a box comes up over it like alt but this one is more styled.. doesn anyone know how to do this?

thanks.

assassingod
09-28-2002, 08:47 AM
Yeah, I think thats DHTML, im pretty good with it, I can show you do that:)

Neo
09-29-2002, 08:27 AM
I would be thankful if you could.

assassingod
09-29-2002, 09:29 AM
All is explained in the text file:)

PIMPY
09-29-2002, 07:10 PM
Originally posted by Ninth Dimension
BTW, as you might have seen, I don't use " marks arround the elements in HTML unless the element has a space in it, such as

<img alt="hello world">

* Ninth Dimension holds hand out to be slapped


yes you can do this, but the reason people DO use quotes around non-spaced words, are for two reasons, common documentaion, makes it easier to read, and because its a good practice to get used to the quotes so that when you do need them you don't forget and so on

Neo
10-03-2002, 11:37 AM
Originally posted by assassingod
All is explained in the text file:)

Many thanks to you sir :)

assassingod
10-03-2002, 03:43 PM
No problem at all. It was easy:p Did it work alright? Im not the best at explaiing things:p