If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Enjoy an ad free experience by logging in. Not a member yet? Register.

Data Parsing

Hi, didnt know where to post this as there is a mixture of languages/frameworks. This is related to JQuery mobile, but the question isnt really about that. I asked a similar question earlier, but this is a new approach.

In short, the above adds an input field to my header and sets the input to $this.data("input", $input.val()); When the user clicks off the field, what they inputted is set as the title of the header bar. In essence, the inputted data can be obtained through var name = $this.data("input");

I have several of these blocks, each getting different inputs. I now need to send this to my php script so it can be emailed. At the moment I am trying

At the moment, the above doesnt work, and I assume its because var $this = $(this); doesnt relate to what I need it too. So how would I go about getting the data from the first blocks into the submit function?