Page 1 of 1

Problem in using wordwrap function

Posted: Fri Jul 16, 2004 5:17 am
by inpreet
I am using wordwrap function to show long string in table's column with limited column sizebut the problem is that when i break string in 20 char strings javascript take this in single quotes 'stingABC' but in my case it dose not find ending quote
'StingAB
cvbn
ckjc'
and shows error unterminated string constant. what should I do?

Thanks for ur help in Advance

Posted: Fri Jul 16, 2004 5:48 am
by feyd
Javascript doesn't support spanning strings. So you need to end the string for each line you created.