how to refresh a page using javascript?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nesha
    New Member
    • Sep 2010
    • 9

    how to refresh a page using javascript?

    Hi,
    I'm using ajax call to add some details. Its working fine. But i can't view changes until i refresh the page. Is there any coding in ajax to refresh the parent page or is there any coding to refresh another page while working in some other page?
  • RamananKalirajan
    Contributor
    • Mar 2008
    • 608

    #2
    Ajax main advantage or usage is without refreshing the whole page you can refresh a particular container. If you want to do like that means you can us normal form submit to refresh the entire content. Or in the Ajax response call use location.href = url.

    Thanks and Regards
    Ramanan Kalirajan

    Comment

    • Sangam Uprety
      New Member
      • Jun 2011
      • 4

      #3
      If you are making ajax calls from a page, you can just get the response after successful call and render it as you wish without refreshing the whole page.

      Comment

      Working...