Page Reload Button

5 views
Skip to first unread message

Daniel Green

unread,
Jul 9, 2010, 11:10:51 AM7/9/10
to rose-htm...@googlegroups.com
Hello,

We currently need a button that (on click) reloads the page, minus any
GET arguments (so the base URL; everything before the ?". I was hoping
to encapsulate this in a Rose::HTML::Object. is there a way to access
the URL at time of page render so that I may adjust the onclick
attribute accordingly? This button will (I assume) always be used
within a form.

Thank you for your time,
Daniel.

John Siracusa

unread,
Jul 9, 2010, 11:49:36 AM7/9/10
to rose-htm...@googlegroups.com
On Fri, Jul 9, 2010 at 11:10 AM, Daniel Green <octob...@gmail.com> wrote:
> is there a way to access the URL at time of page render

If you want to do this server-side, it's entirely dependent on the web
server/application framework you're using. Rose::HTML::* provides no
access to this information (and really doesn't even know if it's
running in a web server at all).

-John

Reply all
Reply to author
Forward
0 new messages