來自

http://www.thefutureoftheweb.com/blog/use-empty-form-action-submit-to-current

 

 

The title says it all: you can use an empty action attribute on a form to submit that form to the current page. This means you don't need to use server-side scripting (using REQUEST_URI or PHP_SELF or whatnot) to write the current URL into the HTML.

aftcast 發表在 痞客邦 留言(8) 人氣()