Hi everyone, I'm working on a search function that allows multiple page returns. I have everything up and running except the switching of pages. I currently pass the page number and keyword from php to jquery and create a href link containing the string below
I need to convert this string:
- search?action=search&keyword=airplane&pagenum=2
Into a JSON array
- {'action':'search','keyword':'airplane','pagenum':'2'};
So Im able to pass it back to my server using ajax for processing.
Does anyone have any ideas? I feel I may be overly complicating my situation.
Thanks