|
|
|
|
|
|
HOW TO: Escape Single Quotes for JavaScript Strings |
|
The Mighty Blog
|
By Will Strohl on
6/27/2007
|
|
|
|
While I was writing a class to allow me to quickly grab preformatted JavaScript functions (i.e., confirm, alert, etc.), I came across the need to ensure that a string passed into those methods would not throw a JavaScript error upon rendering. This could possibly happen if the message contained singles quotes for contractions, quotes, etc.
|
 |
|
Comments (0)
|
More...
|
|
|
|
|
|
|
|
Safari: It's Still for Jungles Only |
|
The Mighty Blog
|
By Will Strohl on
6/12/2007
|
|
|
|
A friend and colleague just sent me a link to the download page for the Safari web browser. I was instantly impressed that Apple is attempting to make their web browser a serious player in the Internet world by making it a cross-platform player, but I am equally not impressed with this release.
|
 |
|
Comments (0)
|
More...
|
|
|
|
|
|
|
|