Jquery PHP Form -
i have link on page loads div using jquery function. on page there form submits database. form works when when type page in directly when function loads page, form doesn't work.
$('.menu_top').click(function() { var href = $(this).attr('href'); $('#load').hide().load(href).fadein('normal'); return false
});
this using load page div. have added class form , button. when click submit page flashes sql doesnt update
when load doom, need use on command. try this:
$('body').on('click','.menu_top',function() {
Comments
Post a Comment