Load/Prepend HTML from PHP file into div on button click using Jquery -
i want load/prepend html php file div on button click using jquery. how can go doing since .load deprecated? need load html nested within php file , prepend top of div whenever button clicked.
$("selector").load(function() { // ... }); is depreciated. should use
$("selector").on("load", function() { // ... });
Comments
Post a Comment