http://blog.outsharked.com/2010/12/html-apostrophes-quotes.html
If you use Eval inside your ASPX page, you can avoid using escapes for double quotes by using single quotes for the outermost delimiter e.g. href='<%# Eval("mylink") %>'
But, if you really need to escape the inner double-quote characters, you should use the html way of escaping the quote characters i.e. use " inside the html attribute value. e.g. href="<%# Eval("mylink" )%>"
http://www.ascii.cl/htmlcodes.htm
Subscribe to:
Post Comments (Atom)
Github CoPilot Alternatives (VSCode extensions)
https://www.tabnine.com/blog/github-copilot-alternatives/
-
Use this plugin to unobtrusively add a datetimepicker, datepicker or timepicker dropdown to your forms. It's easy to customize options. ...
-
This is a new restart of the blog. Hope to see more visitors. Change is an opportunity 💓
-
Elon Musk shows how you can achieve something out Tony Stark's laboratory using existing technology.If only we can also code like the "Ghost in the Shell" http://www.youtube.com/watch?v=2o9H0P2vvP4
No comments:
Post a Comment