+ 1
Should i create a login from without html from tag??
i m creating a login and sign page with MVC and ajax and to post data I'm using j query Ajax. should i do that?? or is it right thing to do??
3 ответов
+ 2
Yes, you can create a working form without form tag.
just use 'onclick' attribute in the submit button which will trigger some functions on button click.
+ 1
Arnav its not about possible or not. I'm asking for should i do it or not..
but any way thanks for the help..
+ 1
Yes, but it's not the traditional way to submit the forms.
But honestly, I don't use the form tag in almost all of my forms.
Summary- both are correct and widely used.