Thread: Will this work?
View Single Post
08-19-2012, 01:31 PM
#3
Gaz is offline Gaz
Gaz's Avatar
Status: Request a custom title
Join date: Apr 2007
Location: UK
Expertise: Code & Programming
Software: Coda, TextMate, Sublime 2
 
Posts: 2,097
iTrader: 26 / 100%
 

Gaz will become famous soon enough Gaz will become famous soon enough

Send a message via Skype™ to Gaz

  Old

Probably. Try it.

Although I'd use $_POST rather than $_GET due to URI length concerns (http://www.boutell.com/newfaq/misc/urllength.html)..

And I'd also pass in a paramater (e) and then at the top put e.preventDefault() to make sure that the submit button doesn't post the form without AJAX.

Again, try it (I am not going to). If there is an error, tell us the error and we can help you debug (again try to do it yourself first).