Hi i'm trying to emulate the action of the Enrol button , when you click it apears a PopUp window,
i have the ajax call
$.ajax({
url: '/aulamoodle/enrol/manual/ajax.php?id=15&sesskey='+sesskey+'&action=searchusers&search=&page=0&enrolid=40',
success:function (data){}
});
data is an object with the information of the users that are not included in the course in html ( data.response.users.id ( for example for the id )).
i need the call to show the popup,like the standard button
can somebody help me ?
if have some questions about tell me
THANKS FOR ALL