Web development and examples of PHP, jQuery, HTML5, WordPress, MySQL & AMP


Example 2 of jQuery load(), giving as parameters 2 variables and the callback



Obsolete function

This function has been obsolete since jQuery version 1.8, if you need to load external content and send parameters you can use the get() and post() jQuery functions.

This is an example of the ORIGINAL POST "jQuery load(): load an external html into a div".

Second example of the jQuery load() function, we test the load with the URL parameter and the callback.

Example 2

Press 'Update Layer' and this text will be updated



Cookie Policy

This website uses cookies to provide you with the best user experience. If you continue to browsing you are consenting to the acceptance of these cookies and acceptance of our cookie policy, click the link for more information.

ACCEPT
Aviso de cookies