Return to Snippet

Revision: 17930
at October 21, 2009 05:07 by almazom


Updated Code
var l = String(window.location).split('/')
var action = l[l.length-1].split('?')[0]

Revision: 17929
at September 17, 2009 03:48 by almazom


Initial Code
var l = String(window.location).split('/')

var action = l[l.length-1]

Initial URL

                                

Initial Description

                                

Initial Title
how to know ROR action name  in Javascript

Initial Tags
javascript

Initial Language
JavaScript