Hi All
I am trying to pass a c# list parameter using an onclick to a jquery method. It refuses to go to the method I am assuming its the brackets [] that causes that and the string inside the list have slashes & other characters. A string inside the list might look like this; "*abc/def-"
Please assist
Code
JavaScript
function nextSlide(question) {
debugger;
var myList = JSON.parse(question);
}
Sachin SinghRank #66 · 26.2K reputationPosted Mar 29, 2023, 4:14 AM EDT
use this
Naimish MakwanaRank #324 · 7.7K reputationPosted Mar 29, 2023, 5:35 AM EDT
Hello Anele,
Please try below:
Thanks
Naimish Makwana