Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to submit form on changed url in function in jquery

$(".move_to").on("click", function(e){
    e.preventDefault();
    $('#contactsForm').attr('action', "/test1").submit();
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #submit #form #changed #url #function #jquery
ADD COMMENT
Topic
Name
2+4 =