How To Get Source Code Of Html Page Using Jquery
In the android phonegap application i need to get the script of index2.html from index1.html using javascript or jquery. Here is index1.html code: function nextpage(){ $.get
Solution 1:
i am adding return1() function in your code after appending index2.html.
function nextpage(){
$.get('index2.html', function(data) {
$('#div').html(data);
alert('Load was performed.');
return1(); //call this function to show alert
});
}
Post a Comment for "How To Get Source Code Of Html Page Using Jquery"