This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes javascript unsafe operations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript unsafe operations" Watch "javascript unsafe operations" New topic

javascript unsafe operations

Grega Leskovšek
Ranch Hand

Joined: Nov 13, 2008
Posts: 75
IS it true that eval() function is suggested not to be used? What are javascript unsafe operations? Thanks! Grega

--Always, Grega from Peace refuge
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
99.99% of the time there is a better way to do things. Eval is slow. It is unsafe since you may not know what you are going to be running.

I agree. Here's the link:
subject: javascript unsafe operations
It's not a secret anymore!