3
Answers

response.d object's string value passing error,

Rameez Javed

Rameez Javed

5y
432
1
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),
anything help will be appreciated.
 
  1. <li class="contact" style="margin-left: -45px;" onclick="Pinfo(' + obj[i].FullName + ')"></li>  
Answers (3)