Reputation: 4945
I have a link which has navigateToBusiness("check & ' "")
. Due to this double quote, script is not getting called. The value passed check & ' "
is dynamic.
Please help. Thanks in advance.
Upvotes: 0
Views: 124
Reputation: 236192
You can escape special characters with a leading \
navigateToBusiness("check & \' \"")
Upvotes: 1
Reputation: 3804
You may need to escape the quote,
Read more here: Escape quotes in JavaScript
Hopefuly this helps
Upvotes: 0