faqts : Computers : Programming : Languages : JavaScript

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

92 of 223 people (41%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Setting "window.opener.location.href" to the required JSP file fails to reload it?

Apr 6th, 2008 18:41
ha mo, Mark Pratt, Richa M,


Try "document.location.href" instead.

Sometimes there are caching problems. To avoid these add a time/date 
stamp or some other random number to the end of the URL.

e.g. document.location.href = "myJSP.jsp?timestamp=" + escape(new Date
())


http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com