I have the following function which I pass in a value, but this value is coming from the database. However I get the following javascript when doing the following:
showrootcausedetails('showrootcause',true,'<%# eval("Root Cause Analysis").ToString() %>')
I know I have to escape the characters, but How can I do that without knowing what is in the actual string?
Thanks,
Jacob
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.