I've been using jQuery to process forms via AJAX and CF
for a couple of years without problem.

But I've been working on some tutorials for jQuery Mobile
and I'm a little confused about how it handles form
processing.

The tutorials and even docs are a little sketchy...at least
I'm not finding what I need.

Anyway, I read that jQuery Mobile "automatically" intercepts
the form submissions and processes them via AJAX.  I'm used to
having to write the interrupt routine, parse the form variables,
and submit the form via $.ajax.

So I'm not sure how much, if any, jQuery I need to write to
process form via AJAX.

When I submit a form to a processing page, I'm getting errors
from the jQuery or jQuery Mobile code like this:

"false)a.mobile.activePage=k;h(k);y&&D&...dd(k).removeClas(" out in reverse
"

So I must be trying to process the form in an incorrect manner.

Some examples I've seen have the typical intercept, validation,
and AJAX processing of form variables, but those are the
more advanced uses.

At the most basic level, what, if any, jQuery and CF would be needed to
process a form?

Same as with jQuery and CF?  I just need to see one complete sample
of a form on jQuery Mobile and a CF processing page (without validation),
and I'll understand how jQuery Mobile differs from jQuery in what it's
doing "automatically" that jQuery does not.

I don't want to write all the jQuery if I don't have to... and if I'm not
supposed to, it could interfere with jQuery Mobile's function.

Anyone got a sample handy?

Rick



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345454
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to