/*
Basically I'm trying the pass an array of objects and pass them into
the Test class, but it only seems to be passing in the last object in
the array...
*/
// class to store the id, first, last name
Test = Class.create({
options:{},
initialize:function(count,obj){
/ com
www / crowder software / com
On Oct 10, 4:25 am, Steven Albarracin stevenalbarra...@gmail.com
wrote:
/*
Basically I'm trying the pass an array of objects and pass them into
the Test class, but it only seems to be passing in the last object in
the array...
*/
// class to store
Anyone have a better method for having the onmouseover event (or any
other mouse event) instead of onclick when using link_to_remote:
This is what I did, but I'd i have to create one for every mouse
event, can't figure out how to call a mouse event via an argument .
anyone else run into
should be :onmouseover not :mouseover
def link_to_remote_mover(name, options = {}, html_options = {})
link_to_function_mover(name, remote_function(options),
html_options)
end
def link_to_function_mover(name, *args, block)
html_options =
I trying to pass a variable to the call back function of when utilizing
the PeriodicalExecuter function
ex.
new PeriodicalExecuter(refresh, 10);
works
but
new PeriodicalExecuter(refresh(id), 10);
works once then errors after the 10 seconds, I get this.callback is
not a function