Click to See Complete Forum and Search --> : Unterminated string constant?


lazzerous
12-16-2003, 02:25 PM
Help?!?

I have a window.open statement with a great deal of information in the url... what is causing this error? I've never seen this error before...

Thanks in advance for yout help...

line with the error:

<a href="#" onClick="window.open('part_builder_results.cinch?specs_id=1&optionsets=a:10:{i:0;a:1:{i:0;s:2:\"DC\";}i:1;a:1:{i:0;s:1:\"D\";}i:2;a:1:{i:0;s:1:\"A\";}i:3;a:1:{i:0;s:2:\"37\";}i:4;a:1:{i:0;s:1:\"2\";}i:5;a:1:{i:0;s:1:\"S\";}i:6;a:1:{i:0;s:1:\"C\";}i:7;a:1:{i:0;s:1:\"3\";}i:8;a:7:{i:0;s:4:\"00.5\";i:1;s:4:\"01.0\";i:2;s:4:\"02.0\";i:3;s:4:\"18.0\";i:4;s:4:\"24.0\";i:5;s:4:\"36.0\";i:6;s:4:\"48.0\";}i:9;a:6:{i:0;s:1:\"B\";i:1;s:1:\"F\";i:2;s:1:\"R\";i:3;s:1:\"K\";i:4;s:1:\"L\";i:5;s:1:\"P\";}}','PartBuilderResults','status=yes,scrollbars=yes,toolbar=no,location=no,directories=no,menubar=n o,resizable=yes,width=800,height=300')">If you are running a popup blocker, try clicking here to view the results.</a></font>

any ideas?

Thanks,
-=Lazzerous=-

fredmv
12-16-2003, 02:29 PM
It means you are missing a closing quote somewhere. I would imagine you'll need to escape the quotes in your URI or use a single quote as opposed to double quote to surround the URI.