Re: script src error

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for your reply Joe,

So that's the additional "Response.Write" output make the page's client
html become invalid html document. Based on my local test, it also indicate
that the script reference code below is correct(should not cause client
browser error):

<script type="text/javascript"
src="http://track.oursite.com/trackstat.aspx?siteName=MySite&pageName=index_
html">
</script>

Anyway, I'm glad that you've resolved the problem.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: "Joe" <jbassking@xxxxxxxxxxxxxxx>
References: <#Pbz2LuiIHA.6092@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: script src error
Date: Fri, 21 Mar 2008 11:59:17 -0400

There was a problem with the page being called. We put a Response.Write()
in
that we forgot about and that was causing the error.

"Joe" <jbassking@xxxxxxxxxxxxxxx> wrote in message
news:%23Pbz2LuiIHA.6092@xxxxxxxxxxxxxxxxxxxxxxx
I have a script block in our page with the src set to something like this:

http://track.oursite.com/trackstat.aspx?siteName=MySite&pageName=index_html

The script seems to execute fine but IE shows a syntax error and FireFox
says invalid assignment left-hand side and points to the = in
pageName=index_html

Any idea what the problem could be?







.



Relevant Pages

  • Re: vbscript / Internet Explorer info
    ... HTML and Dynamic HTML ... Even in the Microsoft documentation you will ... find only a few VBScript examples of client side, ... The reason is that only IE supports VBScript on the client. ...
    (microsoft.public.scripting.vbscript)
  • Re: Is all script run client-side and othe simple questions.
    ... Does "render' occur after the entire HTML is read. ... The server created the HTML but does not, for example, load images. ... The client parses the HTML without ... adding script calls to a control can be done anytime before render. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How do I get HTML sent to server?
    ... You can send any string to the server using form post. ... HTML is just a text string. ... a file or is made on the spot by serverside script. ... html is probably stored in the client browser cashe, ...
    (comp.lang.javascript)
  • Re: VBScript Interacting with HTML
    ... You can read via script for instance on the client ... I imagine you have frames or iframes between your ASP and you html page. ... You can read from the html page value always on the client and using frames ...
    (microsoft.public.scripting.vbscript)
  • Cant make this page work
    ... I can't make this script work properly. ... The script at the bottom of the html page ... Does someone have a perl ... sub output_trace_headers { ...
    (comp.lang.javascript)