Home >Web Front-end >JS Tutorial >Solution to js failure when styles are lost after jquery mobile page jumps_jquery
When using ajax to jump, after jumping from a.html to b.html, the css and js of b.html are invalid.
Method:
Put the css and js needed for the current page b.html in the
Principle:
When jqm’s ajax jumps, only the content within