Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 563 Bytes

result.eval.md

File metadata and controls

22 lines (16 loc) · 563 Bytes

Result.eval

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

Sample

var result = new Result();
result
.eval("<span class="math-inline">\('\#table1 tr\:even'\)\.css\('background\-color','green'\);"\)
\.eval\("</span>('#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.