Difference between Div and Span tag
Good article in the link below about this
Good article in the link below about this
You can user browser native function JSON.stringify to do this
If you pass html content in the template variables, you have to use format to make sure that the html content gets converted into real html elements.
Here is a Stack overflow post with javascript regex solution for this problem.
If you need to center a div within another div, here is the solution from Stack overflow post -
http://www.hccp.org/java-net-cookie-how-to.html
http://stackoverflow.com/questions/725998/are-there-firefox-extension-or-any-other-browser-that-allow-to-send-arbitrary-p
See this A List Apart post - Clickable Region Fix - about this
This happens when the script code is not correct , or if the script code is a JSON string then the string may not be well formed.
I could not select Dom elements with ID having dot character in them. Quick google search gave me this Stack overflow post, which solved my problem.