evalScripts :: String |
Examples
'lorem... <script>2 + 2</script>'.evalScripts(); // -> [4]
'<script>2 + 2</script><script>alert("hello world!")</script>'.evalScripts(); // -> [4, undefined] (and displays 'hello world!' in the alert dialog) |
Prototype API 1.5.0 - prototypejs.org