B
Bhushan Kakulte
Hi,
I have content from textarea which contains newline character also. I
am storing this data in database.
<textarea id="text1">unknown
data</textarea>
I extract the data (textarea value) we stored in database. When I
tried to use this content in table it gives string unterminated
constant error.
consider val1=text1.value
<table>
<tr>
<td title=val1> </td>
</tr>
</table>
Please tell me how to handle newline character from textarea.
Thanks,
Bhushan
I have content from textarea which contains newline character also. I
am storing this data in database.
<textarea id="text1">unknown
data</textarea>
I extract the data (textarea value) we stored in database. When I
tried to use this content in table it gives string unterminated
constant error.
consider val1=text1.value
<table>
<tr>
<td title=val1> </td>
</tr>
</table>
Please tell me how to handle newline character from textarea.
Thanks,
Bhushan