ok i am loading a separate page with links in it, into a page named index.php. it loads fine, but when i click one of the links inside the loaded content, nothing happens. they dont act as links. but if i do a alert('hi');
after the load('page.html');
then it will work. any ideas on getting this to work without alerting something after it loads? oh also i cant use a callback, unless there is a way to update the get variable because the page loading, has a $_GET variable, and the links inside the loaded page are supposed to update the $_GET variable. anyways is there a way to make the links clickable after loading the page?
function load_file(dirval) {
$.ajax({
url: "data.php",
data: {dir: dirval},
success: function(data) {
$('#remote-files').html(data);
}
});
}