Hi, can anybody tell me about the passing json object's string value to javascript function, actally im trying to pass a value of obj[i].FullName to function like below.
but the error come like SytaxError Unexpected end of input...
Note: this FullName in obj may word with spaces (like: Malik Ahmed Ali),
Note: this FullName in obj may word with spaces (like: Malik Ahmed Ali),
anything help will be appreciated.
- <li class="contact" style="margin-left: -45px;" onclick="Pinfo(' + obj[i].FullName + ')">

Shweta LodhaPosted Apr 29, 2019, 1:21 AM
Shweta LodhaPosted Apr 29, 2019, 3:46 AM
Rameez JavedPosted Apr 29, 2019, 1:27 AM
Pinfo(\''+ obj[i].ParentName +'\')