Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > VB Script

Vista - Errors on Page.

Reply
 
Old 03-09-2009   #1 (permalink)
Darrin


 
 

Errors on Page.

Hi all, I have an asp app that I have in production and have had for some time. 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.

Thanks.

My System SpecsSystem Spec
Old 03-09-2009   #2 (permalink)
T Lavedas


 
 

Re: Errors on Page.

On Mar 9, 1:18*pm, "Darrin" <darre...@xxxxxx> wrote:
Quote:

> 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.
>
> Thanks.
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 & " ""></
div>"

Tom Lavedas
***********
http://there.is.no.more/tglbatch/
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Internet explorer errors on page Software
Blue Screen - Page fault in non page area Vista performance & maintenance
vista print spooler and page count errors. Vista print fax & scan
explorer errors, program errors, no task manager Vista performance & maintenance


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46