JQuery.get() -receive text and Javascript objects
Hi
I have send data with <a href="javascript:void(0)">1</a> / Get. The script response from the site (url), but the javascript inside (like this <a href="javascript:void(0)">2</a> and other scripts) doesnt work.Someone has an idea how I can enable javascript/respone?
Thank you!
- $(document).ready(function() {
$('a').click(function(){
var that = this;
$.get('url', {'page':$(that).text()}, function(data){
$('#div_id').html(data);
});
});
});