Ferric - I believe (though I'm not totally sure) that .load uses a "get" rather than a "post". Try doing "url.albumID" rather than "form.albumID" in your ColdFusion code and see how that works.

-- Josh

----- Original Message ----- From: "ferric84" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Thursday, June 19, 2008 8:29 AM
Subject: [jQuery] .load() post issues



I'm having a problem getting my server side script to see the
variables posted by a .load().  Consider this code snippet:

$('#modal_editphotos').load('/includes/members/ajax_edit_album.cfm',
{ albumID: 3 });

Given that it is coldfusion, I should be able to access the variable
"albumID" with "form.albumID," however, the response is a 500 error
saying that "albumID" does not exist.  A GET method works fine
(referring to albumID as "url.albumID"), but I cannot for the life of
my figure out why these vars are not being sent correctly.  Firebug
reports that the variables are being sent ("albumID=3").

Any ideas why I cannot access this POST variable?

Reply via email to