Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Editable form fields? Reply To: Editable form fields?

#171346
__
Participant

Uncaught ReferenceError: client is not defined

Well, that means that client (where you’re getting the id, name, and so forth from) isn’t available. Are you sure that object is available by the time the ajax call is made? are you sure client is the right name?

Wouldn’t I need to POST to the session and then update the database with the new session data? This doesn’t seem like it does that but rather posts data to a URL (which I stripped from the script).

The url you should POST to is whatever php script you have that updates the database. It’s exactly like a normal form submission in that regard. If you want to put the data in the session as well, I suppose that’s fine, but I don’t see the need.