21 November, 2008, 11:42:28 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We Return!
 

Pages: [1]   Go Down
  Print  
Author Topic: Submitting Postdata using URL's... Or other thangs.  (Read 698 times)
0 Members and 1 Guest are viewing this topic.
The Tutorial Man

The Flame Alchemist


Silver Contribution
*
Member

Karma: 4
Offline Offline

Gender: Male
Posts: 93
1636752.07 Secksi Coins

View Inventory
Send Money to Roy Mustang

View Profile WWW
« on: 30 May, 2008, 12:59:02 AM »

This is really easy, but not widely known.

Submitting:
Code:
<a href="#" onclick="document.getElementById("ID").submit();">Submit</a>

Form:
Code:
<form style="display:none;" name="NAME" id"ID" method="post" action="ACTION">
<input type="hidden" value="VALUE" name="NAME" id="ID" />
</form>
Logged



5 Tuts   10 Tuts   15 Tuts   20 Tuts   25 Tuts   30 Tuts
15 Tutorials/Guides and Counting!! Cheesy
This resource was found useful by 0 out of 0 members. Rate it: [applaud] [smite]
United States
"A programmer who shys away from elegant tricks will never be more than competent at best. Ego and a desire to attempt the impossible are traits of most great coders." - Slaytanist

"Music is love in search of a word" - S. Gabrielle

Coding Team

Platinum Contribution
*
Legendary Member

Karma: 64
Offline Offline

Gender: Male
Posts: 1360
3962567.34 Secksi Coins

View Inventory
Send Money to Eureka DC

View Profile WWW
« Reply #1 on: 31 May, 2008, 10:54:31 AM »

Easy, yet redundant Cheesy It's okay.
Logged

If you like my post or have nothing better to do, + Karma me. It motivates me to contribute more.



Ads



Pages: [1]   Go Up
  Print  
 
Jump to:  
Sponsored Links:

Powered by MySQL
Powered by PHP
Powered by SMF 1.1.1 | SMF © 2005, Simple Machines LLC
TinyPortal v0.8.6 © Bloc
The rest copyright TCZ you pillocking twat!
Valid XHTML 1.0!
Valid CSS!
Places we'd like you to visit.