|
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
From the Blogosphere Inline Scripts with Mojarra
This feature will (probably) be the next revision of the specification
By: Jim Driscoll
Sep. 2, 2009 07:15 AM
A few weeks ago, I blogged about ways to execute scripts on the client which you were writing out from the server via Ajax. By popular demand, the latest build of Mojarra now allows execution of inline scripts. So, instead of having to either bundle code into an <eval> tag, or using an event to execute it later, you can now simply say something like: <script type="text/javascript">alert("Hello there");</script> right inside the rendered html. You can also say something like: <script type="text/javascript" src="file.js></script> And the script will be loaded as well. This feature will (probably) be the next revision of the specification, but you should be able to use this feature without fear of compatability issues going forward - the specifcation's Expert Group has already expressed their approval of including this. Reader Feedback: Page 1 of 1
Latest AJAXWorld RIA Stories
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||