The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › By pass the string parameter › Reply To: By pass the string parameter
@traq
I had tried previously escaping the quotes. But escaping the codes as you described is breaking the anchor tag as below
<a href="#" 2x',4);'="" onclick="AddFreq(">3X</a>
Which should pass as
<a href="#" onclick="AddFreq('2x',4);' >3X</a>