What is the difference between form action=“” and form action=“.”?
Question
Is there any difference beween:
<form action="">
... and:
<form action=".">
?
Solution
empty string normally indicates current url (e.g., http://example.com/a/test.html
)
'.'
- current 'directory' (e.g., http://example.com/a/
)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow