hello folks, what happens when the action field is empty? which script handles the post action? method="post" action=""
No no, there is a web page with the example above and it works perfectly, but i couldnt figure out which script runs there
Typically a blank action means to pass the data back to the original page, but it's best to put something in the action field for browser compatibility.
Some forms might use a fancy bit of javascript, or AJAX to submit themselves, rather than using the mechanism provided.
The action determines which page to send the information to. When this area is left blank then it defaults to sending the info back to the same page (Postback). Code on the page will then be set to either run on a pageload or postback event.
Just like BlueGrass said, it posts back the same same page.... Using this, you could have both sides of the form (input & processing) in the same page...