lboeldt
Posts: 53
|
Posted: 07/07/2010, 1:08 PM |
|
I have a form on a VB.NET page. The form has a PTAutoFill feature assigned to a dropdown. The form is contained in an update panel named "content_panel". I receive Warning:An unclosed string constant when attempting to generate the page. If I remove the PTAutoFill the error goes away.
The the javascript code at the line number given in the warning shows the following:
content_panel_bind(sender);
However I think the error is in the autofill javascript routine, I suspect the following line is triggering the error.
new Ajax.Request("../services/LookupGroupCode.aspx?keyword=" + encodeURIComponent($("tblAddress1TargetGroup").value).replace(/'/g, "%27"), {
I think the apostrophe in the /'/ is probably confusing parser. Is there a patch / workaround for this issue?
|
|
|
hangbags
Posts: 1
|
Posted: 09/28/2010, 10:34 PM |
|
5
|
|
|
aliozden
Posts: 2
|
Posted: 11/23/2010, 5:47 AM |
|
same problem..
Using PHP and following line gives warning in CCS (Warning:An unclosed string constant. Ln: 134, Col: 200.)
new Ajax.Request("services/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX_PTAutoFill1.php?keyword=" + encodeURIComponent($("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX").value).replace(/'/g, "%27"), {
|
|
|
asoaresfil
Posts: 12
|
Posted: 12/13/2010, 10:17 AM |
|
I have the same problem using ASP, just when using PTAutoFill.
Does someone has a solution for this WARNING?
Thanks in advance.
Alcides
_________________
Alcides Soares FIlho
c2b@clickstobricks.info
Clicks to Bricks
www.clickstobricks.info
|
|
|
|