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, 4424👍, 0💬
Popular Posts:
Give me the example of SRS and FRS SRS :- Software Requirement Specification BRS :- Basic Requiremen...
If locking is not implemented what issues can occur? IFollowing are the problems that occur if you d...
In which event are the controls fully loaded ? Page_load event guarantees that all controls are full...
How To Get the Last ID Assigned by MySQL? - MySQL FAQs - Managing Tables and Running Queries with PH...
How To Dump the Contents of a Directory into an Array? - PHP Script Tips - Working with Directoris a...