[jQuery] Re: Why would adding this onclick alert cause this code to fail???

2009-04-22 Thread Michael Lawson
I think your problem is here: alert('Help!'); You are using ' to delimit the Help string, but also to delimit the out.push string, at the same time. So you are escaping the string and passing Help! as a variable instead of a string. try escaping the 's with \ cheers Michael Lawson Content

[jQuery] Re: Why would adding this onclick alert cause this code to fail???

2009-04-22 Thread Rick Faircloth
Thanks, Michael! That was it! That was driving me crazy! [?] Rick On Wed, Apr 22, 2009 at 9:23 AM, Michael Lawson mjlaw...@us.ibm.com wrote: I think your problem is here: alert('Help!'); You are using ' to delimit the Help string, but also to delimit the out.push string, at the same

[jQuery] Re: Why would adding this onclick alert cause this code to fail???

2009-04-22 Thread Michael Lawson
Hehehe, no prob. I know how frustrating little errors like that can be :) cheers Michael Lawson Content Tools Developer, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer would test gold. If you find they make