Opened 14 years ago
Closed 13 years ago
#4992 closed bug (invalid)
ajax() and underscores
Reported by: | deliriant | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.4 |
Component: | ajax | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
have searched all over for a solution to this and am not sure if it's a real bug but below is the function am trying to call:
$.ajax({
method: 'get', url: http://www.domain.com/hook.php?hook=mod.galleries/cp.galleries.files.php&action=comments_status&file=0&ajax=1, beforeSend: function(){
}, success: function(html){
$('#layer').html(html);
}
});
note the "comments_status", it won't return anything on success, but when i replace with an argument like "delete" it returns the page am trying to load.
i hope there's a simple solution for this. thank you in advance.
Note: See
TracTickets for help on using
tickets.
Can you debug this a bit more? For example, are you seeing the action parameter correctly in the php file that receives the ajax call? Please reopen with a complete test case.