Hi,
> var html = $.ajax({
> type: "POST",
> url: "get_file_contents.php",
> data: "mod_index=" + p_moduleIndex,
> dataType: "html",
> error: function(req, errorMsg) {
> alert("An error occurred: " + errorMsg);
> }
> }).responseText;
$.ajax() does
> ---Original Message---
> From: Jake McGraw <[EMAIL PROTECTED]>
> Subject: Re: [jQuery] Why isn't my Ajax call working?
> Sent: Feb 16 '07 22:58
>
> Sorry, that function needs to be attached to jQuery object... if
> you're just
TECTED] <[EMAIL PROTECTED]> wrote:
>
> > ---Original Message---
> > From: Jake McGraw <[EMAIL PROTECTED]>
> > Subject: Re: [jQuery] Why isn't my Ajax call working?
> > Sent: Feb 16 '07 22:33
> >
> > Which PHP array are you usi
> ---Original Message---
> From: Jake McGraw <[EMAIL PROTECTED]>
> Subject: Re: [jQuery] Why isn't my Ajax call working?
> Sent: Feb 16 '07 22:33
>
> Which PHP array are you using to access user variables? If you're
> using $_GET, then you
Which PHP array are you using to access user variables? If you're
using $_GET, then your AJAX Post variables won't show up in the
application, I usually use $_REQUEST. Also, have you thought of using
the jQuery ajax abstraction methods? Something like this should do the
trick (not tested):
$.ajaxE
Hi,
I'm sure this is really simple, but here is my dilemma. I'm trying to make an
Ajax call to get some response text. However, when I make the call, my "html"
variable is coming up empty. Additionally, my error function is never invoked.
function loadModuleHTML(p_id, p_moduleIndex)