문제

I am using the location.href = "html page" to move one html page to another page. I want to pass some data when I move the pages. How to do it in? I am new bee to this one. Please help me.

도움이 되었습니까?

해결책

Edit

Why is this tagged jquery-mobile at all?

If you want to pass data to server-side script, you do it as always:

href="somesite.html?foo=bar&duck=swims"
href="somesite.php?foo=bar&duck=swims"
href="somesite.aspx?foo=bar&duck=swims"

If using jquery mobile you shouldn't change pages this way at all. Create links or use changePage() method.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top