Refresh button

Results 1 to 2 of 2

Thread: Refresh button

  1. #1
    Malcolm Graham Guest

    Default Refresh button

    How do I do a refresh button in ASP using forms and not using the META tags?

  2. #2
    LeeAnnie Guest

    Default RE: Refresh button

    I would do this using VBScript onclick command.<BR><BR>in your form, create your button &#060;input="button" name="myButton" value="Click me to refresh"&#062;<BR><BR>in the header, insert your vbscript:<BR>&#060;script language="vbscript"&#062;<BR>sub myButton_onclick()<BR> location.href = "redirectmebacktothispage.asp?params=whatever"<BR> end sub<BR>&#060;/script&#062;<BR><BR>then, as your very first line of the page, insert this:&#060;%Response.Expires=now-1 %&#062;<BR><BR><BR>This is how I would do it, but I bet someone out there has an even more cool way! HTH!<BR>

Posting Permissions

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