I am working in HTML and forget how to The action of the form should be null (#).I have开发者_如何学运维 been looking through my book and even looking on the web for it can someone point me in the right directions. I have to make a survey for my class and it all need to be null or the form does. thank you so much.
I think the only way to stop a form from submitting is to use JavaScript. If you leave the action blank (action=""
) or leave it off entirely, then it defaults to the current page. That's probably as close to a null action as you're going to get.
精彩评论