rjs question

Lamer Lamer
2008-04-23T09:10:16Z

Hello RoR developers,

I want to see url path in alert message.

exp,

this is my url
<%=url_for :controller=>''admin'',
:action=>''admin2''%>

I want to see the path in alert message when I click to button

<input type="button" value="alert"
onclick="try()">
I want to call that try() method by rjs,

is it possible?

thanks for any help.
--
Posted via http://www.ruby-forum.com/.