For the Love of My Country

Andy Moore's web-development blog: HTML, CSS, JavaScript, Flash (subscribe)
quicklinks: html codes | w3 schools (CSS) | colour codes | archives
blogging at: Star Studded Super Step on politics, abortion, freedom...
Single Apostrophes in Javascript
Wednesday, September 3, 2008, 5:26 AM
Heck, I've been plugging away, trying to fix a problem with my JavaScipt.  If you have an apostrophe (') in your script, it can break it.  What you need to do, is change all your...

' into '

' is the HTML number for '

Works a treat! 

(for an example, check out this piece of javascript)

For a list of all HTML codes, click here

Labels: ,

Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home
Archives: \April 2007/\June 2007/\September 2007/\August 2008/\September 2008/\October 2008/\December 2008/\February 2009/\March 2009/\May 2009/\July 2009/\August 2009/\September 2009/\October 2009/\November 2009/\December 2009/\January 2010/\February 2010/\March 2010/\August 2010/\September 2010/\December 2010/