开发者

Special character entity display error in ie7

开发者 https://www.devze.com 2023-01-31 01:13 出处:网络
i am giving <a href=\"www.site.com?&section_id=10\">ur section</a> as a value inside textarea

i am giving <a href="www.site.com?&section_id=10">ur section</a> as a value inside textarea

All browsers shows <a href="www.site.com&section_id=10">ur section</a>

But in ie7 display inside textarea is like this... <a href="www.site.com&§ion_id_id=10">ur section</a>

Help me how to avoid this § display i need to print &开发者_运维知识库;section_id


Others browser

Code: <textarea><a href="www.site.com?&section_id=10">ur section</a><textarea>

Output: <a href="www.site.com?&section_id=10">

IE7

Code: <textarea><a href="www.site.com?&amp;section_id=10">ur section</a><textarea>

Output <a href="www.site.com?&section_id=10">

Only code in Above format is supported by ie7 to display &section_id inside textarea

How stupid IE7 is

0

精彩评论

暂无评论...
验证码 换一张
取 消