SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: refresh button

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2000
    Posts
    47
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    refresh button

    hello

    trying to make a simple refresh button

    tried this...
    <a href="#" onClick="window.location.href = window.location.href;">

    and it works but there is php on the page and it does'nt remake the call to the server

    how do i force it to refresh by clicking a button like the browser refresh button.

    thanks in advance
    garrett

  2. #2
    You talkin to me? Anarchos's Avatar
    Join Date
    Oct 2000
    Location
    Austin, TX
    Posts
    1,438
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Change it to onClick="window.location.reload()"
    ck :: bringing chris to the masses.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •