efw4.X

Result.eval

The eval function executes a JavaScript script on the client-side. It can be called multiple times.

Sample

var result = new Result()
.eval("$('#table1 tr:even').css('background-color','green');")
.eval("$('#table1 tr:odd').css('background-color','yellow');");

API

Calling Returning
result. eval ( script ) Result
Parameters Type Description
script String The JavaScript code to be executed on the web page.