Ticket #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: | ||
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

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.