Marnen Laibow-Koser wrote:
Rob Nichols wrote:
Marnen Laibow-Koser wrote:
Whatever the form tag's action is.
Also, if no action is specified via the form tag, the form is submitted
to the current url.
So if 'thing/edit/1' contained:
form
input type=submit /
/form
The form would
On 8 July 2010 09:04, Rob Nichols li...@ruby-forum.com wrote:
Marnen Laibow-Koser wrote:
Rob Nichols wrote:
Marnen Laibow-Koser wrote:
Whatever the form tag's action is.
Also, if no action is specified via the form tag, the form is submitted
to the current url.
So if 'thing/edit/1'
On 8 July 2010 09:04, Rob Nichols li...@ruby-forum.com wrote:
Marnen Laibow-Koser wrote:
No. form without an action is invalid HTML, so its behavior is
undefined. An action must always be specified.
Thank you for that comment on what should happen. However, the fact
remains that if you
On 8 July 2010 09:09, Colin Law clan...@googlemail.com wrote:
If you
develop a website that does not generate valid html then next week an
update to IE may break the website and your clients/users will not be
happy.
*ahem* one may develop websites with valid html and *this* week, and
find the
Marnen Laibow-Koser wrote:
Whatever the form tag's action is.
Also, if no action is specified via the form tag, the form is submitted
to the current url.
So if 'thing/edit/1' contained:
form
input type=submit /
/form
The form would be submitted back to 'thing/edit/1'
--
Posted via
Rob and Marnen:
Thank you!
I am now curious why the designers of HTML put the place to go on the
form tag rather than on the input type=submit / tag.
Ralph
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups Ruby
on
Ralph Shnelvar wrote:
Rob and Marnen:
Thank you!
I am now curious why the designers of HTML put the place to go on the
form tag rather than on the input type=submit / tag.
My guess: the idea is that the action is a property of the *form*, not
the submit button. But take this up on
Rob Nichols wrote:
Marnen Laibow-Koser wrote:
Whatever the form tag's action is.
Also, if no action is specified via the form tag, the form is submitted
to the current url.
So if 'thing/edit/1' contained:
form
input type=submit /
/form
The form would be submitted back to
Ralph Shnelvar wrote:
It's such a simple question ... and I can't find an answer.
Because it's a basic HTML question, not a Rails one.
When I put up a form and I have a submit button ... cleary when the user
clicks on it a uri is generated. What is that uri?
Whatever the form tag's action
9 matches
Mail list logo