jQuery Mobile: How to correctly submit form data

后端 未结 4 876
迷失自我
迷失自我 2020-11-27 05:53

This is a jQuery Mobile question, but it also relates to pure jQuery.

How can I post form data without page transition to the page set into form action attribute. I

4条回答
  •  醉话见心
    2020-11-27 06:27

    I have run into same issue where I am calling another .php page from my index.html. The .php page was saving and retrieving data and drawing a piechart. However I found that when piechart drawing logic was added, the page will not load at all. The culprit was the line that calls the .php page from my index.html:

    If I change this to:

    
    

    , it will work fine.

提交回复
热议问题