KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I've been searching for two hours and I couldn't find any solutions. I would like to have two submit buttons, one inside the < form > tag and one outside the < form > tag. <form id="example" name="example" action="post"> Input <input type="text" name="text" /> <input type="submit" name="submit" value="submit" /> </form> <div class="button">Submit</div> JS / jQuery $(".button").click( function() { alert("Button clicked"); }); How can I send the form with the ('.button') class outside the form ? JS Fiddle here: http://jsfiddle.net/ZQLXb/
Tags (comma-separated)
Save Edits
Cancel