Update META tag value from JQuery
开发者_如何学运维I have a web page that is using the following META tag:
<META HTTP-EQUIV="refresh" CONTENT="15;URL=/myPage.aspx" />
This page has a textbox and a drop down list. When the user changes either of these fields, I am hitting a web service via JQuery. I would like to append the values of these fields as query string values to the URL in the META tag shown above. Is there a way to do this from JQuery? If so, how?
Thank you!
You should just use window.location.replace("http://stackoverflow.com");
to redirect, and setTimeout()
if you need to set a timer.
精彩评论