Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What is the eval() function?
What is the eval() function?
✍: Guest
The eval() method is incredibly powerful allowing you to execute snippets of code during exection.
<script type="text/javascript">
var USA_Texas_Austin = "521,289";
document.write("Population is "+eval("USA_"+"Texas_"+"Austin"));
</script>
This produces:
Population is 521,289
2011-08-09, 4381👍, 0💬
Popular Posts:
How To Test Transaction Isolation Levels? - MySQL FAQs - Transaction Management: Commit or Rollback ...
when should the volatile modifier be used? The volatile modifier is a directive to the compiler's op...
What are the types of variables x, y, y and u defined in the following code? #define Atype int* type...
How To Change the Password of Another User Account? - MySQL FAQs - Managing User Accounts and Access...
What would you use to compare two String variables - the operator == or the method equals()? You can...