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

Popular posts from this blog

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -