how to refresh my index page after form submission?
-
I am having a dynamic content in my jsp pages that has to be refreshed once my form is submitted.Form submission is not done via ajax.I have tried with data-cache=never,rel=external. They ddnt work for me.
-
Answer:
Use location.reload(true); in javascript.
karthiga at Stack Overflow Visit the source
Other answers
$('#my_form').submit(function(){ // After everything else... window.location.reload(); });
AlienWebguy
Related Q & A:
- How to refresh the Properties Window programatically?Best solution by Stack Overflow
- How to refresh or reload a page in jquery mobile?Best solution by Stack Overflow
- How to refresh listview immediately in Android?Best solution by Stack Overflow
- How to refresh template.dotx?Best solution by Super User
- How to refresh jQuery mobile page?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.