External redirect in jQuery mobile
by David Pham • May 16, 2015 • Blog • 0 Comments
Last week I have a project about mobile web what I meet a challenge with redirect in jQuery mobile. It ‘s quite easy in normal but in jQuery mobile environment, the redirect doesn’t work stable enough so that I have to do this method to make it as a cross-browser method.
1 2 |
$("#hidden-search-a-tag").attr("href", url); $("#hidden-search-a-tag")[0].click(); |
I believe you will know how to use. It ‘s easy but it save me a lot of time.
Welcome any comment