Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

save form data jquery

    $("#mybtn").click(function(e) {
        if (conatcForm.valid() === true){
            var formData = JSON.stringify($("#contact-form").serializeArray());
            console.log(formData);
        }


        e.preventDefault();
        });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #save #form #data #jquery
ADD COMMENT
Topic
Name
8+1 =