The eval function is established to run a script at the web. It can be called more than once.
var result = new Result();
result
.eval("$('#table1 tr:even').css('background-color','green');")
.eval("$('#table1 tr:odd').css('background-color','yellow');");
Calling | Returning |
---|---|
Result . eval ( script ) | Result |
Parameters | Type | Description |
---|---|---|
script | String | The script will be run at the web. |