Displaying 2 results from an estimated 2 matches for "javascriptkit".
Did you mean:
javascriptid
2007 Aug 02
7
Difficulty using match
A have an observer watch for a click on a link. Inside the triggered
function, I want to extract a piece of information from the URL.
Currently I am able to do:
alert(Event.element(el));
This displays the url string of the link, which is exactly what I need
to work with. However, when I try:
Event.element(el).match(//);
I get a javascript error "selector.match is not a function". I
2008 Dec 19
14
Can duplicate "back" browser function in Rails?
In Rails I have a DB Table index.html.erb view. It has 100''s of items.
When I gen via scaffold I get index, show, edit, update, etc view.
But when I page down several pages, use the "show" link and then the
"back" link I do not go back to where I was on the index view.
Instead, I go back to the TOP of the index not the place where I clicked
on the "show"