Not sure if you were ever able to see it, but in case you didn't, I uploaded my attachment to imgur.
However, it looks like you're on the right track with that DOM inspector. Just find your hidden <input> in the body, and verify that it actually has the value that you tried to set.
Off Topic:
Here's why we're doing all this: You're trying to (a) set the value of a hidden <input> with PHP, (b) grab that input's value with JavaScript, and (c) send it to another page in an AJAX request, where it can (d) be processed.
As you already posted, (d) seems to be working fine. There aren't a whole lot of moving parts in (b) or (c); we're letting jQuery take care of them for us. That just leaves (a)...
Bookmarks