Passing parameter to server - needed for sql-statement
Hello,
JQuery-version: 1.10.2
JQM-version: 1.4.2
I want to send some data from the mobile to the server for generating the next page (after clicking a link). For example there is a site with an <ul> containing some suggested dates and they all reference to the same page, namely view. The content of the page - where the user is going to visit - depends on the <li> he has chosen. I realized that by appeding a parameter like "?id=0", but I have problems with popups and during my search I found out that using get-parameters is not allowed. I had 2 ideas for a workaround, but I think they are tedious.
1. Every <li> contains a <form> that sends data to the server via POST
2. The id is stored in a cookie and will be read within the php file
Is there any better solution for passing data from the client to the server?