質問

I want to print a url in flexigrid columnn
i.e http://www.test.com?q=zys&y=<script>alert("A")</script>&n=y

But when I am trying to pass it using ajax its showing error. If I use tag then its solve the problem but mass up with formatting and , tag are not capable to solve my issue

役に立ちましたか?

解決

Use &lt; and &gt; instead of < and >. That should do the trick

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top