Hi All:
<textarea name="notes" OnKeyPress="ChekSizeOfNotes()" cols=52 maxlength=1000 rows=5 > </textarea>
JavaScript:
{...
var str= str+"&solder_type="+'<tmpl_var prnsolder_type>'+"&finish_type="+'<tmpl_var prnfinish_type>'+"&impedence_tolerance="+'<tmpl_var prnimpedence_tolerance>'+"&test_type="+'<tmpl_var prntest_type>'+"¬es="+'<tmpl_var notes>';
.......
}
above is reload by perl script.
When I entered few lines and if I hit ENTER KEY at end and press save button then it pass to JavaScript ,it gives Unterminated string constant error.
If anybody can help me how to take care of this error. Thanks in advance.
<textarea name="notes" OnKeyPress="ChekSizeOfNotes()" cols=52 maxlength=1000 rows=5 > </textarea>
JavaScript:
{...
var str= str+"&solder_type="+'<tmpl_var prnsolder_type>'+"&finish_type="+'<tmpl_var prnfinish_type>'+"&impedence_tolerance="+'<tmpl_var prnimpedence_tolerance>'+"&test_type="+'<tmpl_var prntest_type>'+"¬es="+'<tmpl_var notes>';
.......
}
above is reload by perl script.
When I entered few lines and if I hit ENTER KEY at end and press save button then it pass to JavaScript ,it gives Unterminated string constant error.
If anybody can help me how to take care of this error. Thanks in advance.