Hello, everyone.
(This is back on, now.)
Been giving this one a lot of thought, and just don't know enough about using CFAJAXPROXY to figure it out.
Another developer has created a CFC that has many, many functions in it. I'm using CFAJAXPROXY and JavaScript to access one or two of the functions.
One of the functions will add a row of data to a table with just a few of the columns populated with data (the rest are 'allow null').
What I'm trying to do is get the page to refresh with that new record populating some of the form fields. The data that populates is chosen by a CFSELECT tag with an onChange event.
Can anyone think of a way, via JavaScript, to get the @@IDENTITY of the data that was just entered into the table? If it were pure CF, I'd just put another query immediately after the insert query, and surround both of them with a CFTRANSACTION tag. But I don't think JavaScript has an equivalent.
Thanks,
^_^