I made a jQuery model.
Am trying to populate data using AJAX inside that model.
I am getting an id and using that I want to populate data using AJAX.
How should I call AJAX on click event?
Is there any other event when the model is opened or loaded?
The model is just the showing and hiding of div.
Simply using:
JS:
HTML:
It is not tested, but as I see it, it should work…