$(".btn-primary").click(function(){
success(jsonObj);
});
In the JSFiddle Code how do I reload only the container. everytime I change the JSON I need to RUN the code, how can I do it with the button
$(".btn-primary").click(function(){
success(jsonObj);
});
In the JSFiddle Code how do I reload only the container. everytime I change the JSON I need to RUN the code, how can I do it with the button
The Solution was simple. It was a cache problem. Just need to add
$ajaxSetup({cache: false}); //in the call back function
and
$ajaxSetup({cache: true});