Javascript PopUp Issue with '


i have dynamic event page allows user click on title ,
popup description. works great when no " ' " in title,
but crashes when there is. due title's " ' "
causes statement crash.

is there work around or better method?

listed below 1 of problem titles.

javascript:location='events.cfm?orgid=8'" onclick="window.alert('jenny
bales' play group: 10 12 pm, 3543 burbank drive in chapel hill
north of law ')

thanks!


<script language="javascript" type="text/javascript">
function notice()
{
alert("jenny bales' play group: 10 12 pm, 3543 burbank drive in chapel hill north of law");
}
</script>

<a href = "events.cfm?orgid=8" onclick="notice()">title</a>


More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support