Computers |
|
| | #2 (permalink) |
| Ultra Techie | the code in what language? C, C++, Java, VB, Assembly, ??
__________________ (\ /) This is Bunny. Add him to your signature I am 75% addicted to Counterstrike. What about you? |
| | |
| | #4 (permalink) |
| Master Techie | If you're talking about a web form or something, you can't make a button with Javascript. You make the button with html, like this: Code: <form action="" method=""> <input type="submit" name="submit" value="submit" /> </form> Now, Javascript can process the script as you use it, or before you submit it. If you want compatibility and any security whatsoever, you'll want a scripting language or CGI like PHP, Perl, Python etc to handle the form. |
| | |
| | #6 (permalink) |
| Master Techie | By the action in the <form>. For example; Code: <form action="test.php" method="post"> <input type="text" name="name" /><br /> <input type="text" name="email" /><br /> <input type="submit" name="submit" value="submit" /> </form> Code: <?php $name = $_POST['name']; $email = $_POST['email']; echo $name.'<br />'.$email; ?> |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to submit my website in google? | darwin | Search Engines & Internet Traffic | 6 | 10-26-2008 11:40 PM |
| How can I change my gamepad buttons? | JasperHope | Hardware Troubleshooting | 2 | 06-30-2008 02:28 PM |
| Keyboard buttons arrangement | mrgiba | Other Computer HW Topics | 1 | 06-09-2008 01:26 PM |
| Diamondback Side Buttons Not Working In BF2 | Metal Chaos | PC Gaming | 2 | 01-22-2008 09:12 AM |