How can I call these urls in jquery to display content on one page?
- by Thorbis Website Design
ok I figured out the jquery part but not the parameters of them all can anyone help figure out the parameters for each url string?
this is the jquery I figured out!
also would this work better then what the below answer?
$.get('adminajax.php', {'action':'getUsers'}, function(data){
$('#users .users').html(data);
});
He sent me this in an email:
You can specify a page by adding: p=[page #] You can specify a file
and it will add a checkbox next to the user which will be checked if
the user has permission to download: file=[file location]
adminajax.php?action=createDirectory&directory=[new directory location]
adminajax.php?action=setAvailability&user=[username]&file=[filelocation]&available=[true or false]
I'm trying to get it to display in these html tags:
<div id="files">
<b>Files:</b>
<ul class="files"></ul>
</div>
<div id="file_options">
<b>Options:</b>
</div>
<div id="users">
<b>Users:</b>
<ul class="users"></ul>
</div>