Wednesday, March 21, 2012

Usage of CDATA or comments around Javascript -> future problems?

Hi, it appears (from other posts) I need to use CDATA sections aroundJavascript emitted from my controls to prevent them breakingAtlas. However, I also note the point made herehttp://www.netmechanic.com/news/vol6/javascript_no12.htm
about the fact that newer browsers may legitimately ignore Javascript functions inside comments.

Any thoughts? Shouldn't Atlas be modified to work without scripts being commented?

Thanks
Jim

Yes Jim I fully agree with you.I have same problem.

If I keep the javascript triggers not work and if I remove then it works.I dont know how to solve this issue.

No comments:

Post a Comment