Hi All,

I'm a relative newb when it comes to the Ajax concept so be
gentle. :-)  Let me tell you what I've got...
Main page with a dynamic select box that lists vendors. When I make a
selection I'm using

$("#vform").load("editvendor.cfm",{vid: $(this).val()});

to load a form into a div on the main page with it's fields populated
with the results of a query. Here's where it gets sketchy. When I want
to "submit" the form and run an update query that will return the
updated data back to the form I'm running into trouble.  Now, just as
a head's up in case it matters, I'm not actually doing a submit with
the form, I'm just using a regular html button and running the
jQuery .load method onclick of it.

I guess my question is: are form variables accessible to the page that
is being used in the jQuery .load method? When I try to refer to one
like I would in a normal CF form submission to do an update query,
#form.co_name#", it's telling me it's not defined. Maybe there's a
better way to do what I'm trying to do and I'm clueless?

Thx,
Mike

Reply via email to