I am using $.mobile.changePage("#page") to load another page once a user clicks the submit button, but when the page loads it actually skips one page and goes somewhere else.
Anyone knows what is happening? I have spent a lot of hours debugging but I just can't figure it out.
If anyone know what this happens please let me know. I don't know what else to try.
I have a form that uses a slider. How can I send the value of the slider to my js file? I tried to send it the same way I send other form values but all I get from the slider is Object object. What does that mean?
I am using $.mobile.changePage to transition from one page to another and it works with a glitch. When it transitions first it transitions to the same page I am on and then it transitions to the correct page and I can't figure out why.
I am having problems with $.mobile.changePage. After user submits a form and the credentials are verified I want to load another page. I am trying to use $.mobile.changePage like this:
$.mobile.changePage("#index"); (this is in a js file). The form is in a php file.
I get this error message:
TypeError: Result of expression '$.mobile' [undefined] is not an object.
I can't figure out what is going on. Can someone help me?
I am not sure if I am doing this the right way but I can't think of any other way of doing this. So here goes. In my javascript I have a "for" loop setup like this
for(var i = 0; i < data.length; i++) { function load_items(){