i want to append a php page to a div tag....
$("ttt.php").appendTo("#chat");
this isn't working ........any ideas will be highly appreciated
Posted 12 August 2012 - 12:35 PM
$.get("ttt.php", function(response) {
// Opens an alert showing the PHP file contents.
alert(response);
});
Posted 15 August 2012 - 11:49 PM
Quote
Posted 16 August 2012 - 09:16 AM
Dormilich, on 16 August 2012 - 06:49 AM, said:
This post has been edited by Atli: 16 August 2012 - 09:17 AM
Posted 16 August 2012 - 10:23 AM
Atli, on 12 August 2012 - 12:35 PM, said:
$.get("ttt.php", function(response) {
// Opens an alert showing the PHP file contents.
alert(response);
});
('#ch').append(response);
This post has been edited by Atli: 16 August 2012 - 11:00 AM
Reason for edit:: Fixed the [code] tags.
