On Mar 9, 1:18*pm, "Darrin" <darre...@xxxxxx> wrote:
> Hi all, I have an asp app that I have in production and have had for sometime. Yesterday, a client sent me an email with the following:
> Done, but with errors on page.
> When he looked at the error, it had in essence:
> Line 224,
> Char 31,
> Expected End of Statement.
> Here is the line of code:
> html_begin=html_begin & "<div id=""search_suggest" & id & " " "></div>" - could it be the & " " ">???
> BUT, I have several includes ahead of this so I suspect this is not the actual line.
> Anyway, when viewing this site in Firefox I don't get this error, but when I did so in IE6 I get the error.
> Is there anyway to fix this? Or do I just live with it.
> The only functionality that I lose is the Logout and Printer Friendly Buttons.
Since it doesn't support VBScript, Firefox ignores the script section
- therefore, no error is reported.
The problem in IE is that the last pair of double quotes is split by a
space. The pair must be immediately consecutive to escape the double
quote. That is, ...
html_begin=html_begin & "<div id=""search_suggest" & id & " ""></