Escape apostrophe when passing parameter in onclick event

后端 未结 3 977
执笔经年
执笔经年 2020-12-20 15:05

I\'m passing the company name to an onclick event. Some company names have apostrophes in them. I added \'.Replace(\"\'\", \"'\")\' to the company_name field. This al

3条回答
提交回复
热议问题