javascript error is getting while passing the string through vb code
-
while sending the string which contains the html tags iam getting an error of unterminated string constant how to solve this problem
-
while sending the string which contains the html tags iam getting an error of unterminated string constant how to solve this problem
-
hi friend, Need more information of where u r using it,also try to post the code snippet where u r getting the errors.
i mean in grid view row databound iam adding an attribute to get javascript fired when that link button is clicked.for this javascript function iam sending the string that contains the javascript.then only iam getting this error stating unterminated string constant error it is coming .
-
i mean in grid view row databound iam adding an attribute to get javascript fired when that link button is clicked.for this javascript function iam sending the string that contains the javascript.then only iam getting this error stating unterminated string constant error it is coming .
Check for apostrophes inside the HTML in your code. i hope this is your problem. becoz i dont have your code to see otherwise we can easily find out what is the problem?
SSK. Anyone who says sunshine brings happiness has never danced in the rain.
-
Check for apostrophes inside the HTML in your code. i hope this is your problem. becoz i dont have your code to see otherwise we can easily find out what is the problem?
SSK. Anyone who says sunshine brings happiness has never danced in the rain.
if apostrophes is there how to handle while passing to the javascript