update function call from attr to prop
This commit is contained in:
parent
c5a0bbb827
commit
08da6d71c4
@ -18,7 +18,7 @@ $('form.form-post').submit(function(event) {
|
|||||||
|
|
||||||
var $form = $(this);
|
var $form = $(this);
|
||||||
var data = $form.serialize();
|
var data = $form.serialize();
|
||||||
var url = $(this).attr('action');
|
var url = $(this).prop('action');
|
||||||
var rel_success = $(this).data('rel-success');
|
var rel_success = $(this).data('rel-success');
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
|
Loading…
Reference in New Issue
Block a user