Displaying 3 results from an estimated 3 matches for "show2".
Did you mean:
show
2011 Oct 21
20
How to transform my html form into a rails 3 form
Hi,
I have the following code working in a rails 3 view, but it is
unfortunately not pure rails code!
<% @filter1 = "tr.show1,tr.show2" %>
<% @filter2 = "tr.show1" %>
<% @filter3 = "tr.show2" %>
<form>
<p>
<input type="checkbox" value=<%=@filter1%> onclick="$
(this).is('':checked'') && $(this.value).addClass(''hidden...
2005 May 14
2
help with eval
I've been looking at the help page for eval for a while, but I can't
make sense of why this example does not work.
show.a <- function() {
a
}
init.env <- function() {
a <- 200
environment()
}
my.env <- init.env()
ls(envir=my.env)
# returns this:
# > ls(envir=my.env)
# [1] "a"
# but this does not work:
eval(expression(show.a()),envir=my.env)
# >
2008 May 13
8
static private and multi-inherit
...ble
obj.set_static(10);
//visit static variable from class
alert(test1.v3);
/***********************************************
Example:multi-inherit
************************************************/
var parent=function(){this.v4=6};
parent.prototype.v5=1000;
var test2=new Class(function(){
$public.show2=function(){
alert(this.v1);
alert(v4);
alert(v5);
}
},[test1,parent]);
var obj=new test2();
obj.show2();
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this...