Categories:
.NET (357)
C (330)
C++ (184)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (2)
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, 4319👍, 0💬
Popular Posts:
What Are Data Pump Export and Import Modes? - Oracle DBA FAQ - Loading and Exporting Data Data pump ...
How To Display a Past Time in Days, Hours and Minutes? - MySQL FAQs - Managing Tables and Running Qu...
If client side validation is enabled in your Web page, does that mean server side code is not run? W...
. How can a servlet refresh automatically if some new data has entered the database? You can use a c...
What would you use to compare two String variables - the operator == or the method equals()? You can...