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