Script does not work!

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default Script does not work!

    > I have inserted some javascript on an asp page.the script is for
    attaching a
    > tail to the mouse icon on the screen.
    > When the asp page contains -
    > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > "http://www.w3.org/TR/html4/loose.dtd">
    > at the top the javascript does not function.
    > When I remove this string the script works alright.
    Further when I change the extension of the page to htm the javascript
    works alright even with the line at the top of the page
    > What is the problem?
    > Please advise.
    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    S N Guest

  2. Similar Questions and Discussions

    1. Why do variables not work in this script?
      I am trying to set a movie clip on the stage at a specific location set by x,y values This is the code I use onClipEvent (enterFrame) _x = x_pos...
    2. Could someone please tell me why this script will only work once?
      I have this script in a frame that I call when any of my navigation are clicked. But, it will only run the first time. All i can think is that the...
    3. My Script to run a Command-Line from ASP does not work
      Hi, My Script to run a Command-Line from ASP does not work. No errors are returned either. It is on IIS. The directory where the script exists is...
    4. why does this simple script doesn't work
      Hi I am trying to update a date field in my table but some how this simple code does not work, I know the select work because if I write the...
    5. passing parameters to a script doesn't work
      Hi, I'm trying to pass parameters to a PHP script and it's not working. Whilst this is the first time I've tried to use this, I'm basically...
  3. #2

    Default Re: Script does not work!

    > attaching a
    >> tail to the mouse icon on the screen.
    What is the purpose of that?

    What do you think this has to do with ASP or databases?



    Aaron Bertrand [MVP] Guest

  4. #3

    Default Re: Script does not work!


    "S N" <uandme72@yahoo.com> wrote in message
    news:OWCkuVGMEHA.1272@tk2msftngp13.phx.gbl...
    >
    > > I have inserted some javascript on an asp page.the script is for
    > attaching a
    > > tail to the mouse icon on the screen.
    Ooohhh! Way cool!
    > > When the asp page contains -
    > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > > "http://www.w3.org/TR/html4/loose.dtd">
    > > at the top the javascript does not function.
    Isn't that a good thing?
    > > When I remove this string the script works alright.
    Dang!
    > Further when I change the extension of the page to htm the javascript
    > works alright even with the line at the top of the page
    Dang again!
    > > What is the problem?
    Besides bad taste and blatant amateurism? Hard to say.
    > > Please advise.
    See a client-side scripting group.

    Bob Lehmann


    Bob Lehmann Guest

  5. #4

    Default Re: Script does not work!

    I agree that this is not connected to databases or asp engine. But since it
    was an error in an asp page I had posted in this group.
    Please advise me on the name of a client side scripting newsgroup.



    "Bob Lehmann" <nospam@dontbotherme.zzz> wrote in message
    news:Opp1IgHMEHA.620@TK2MSFTNGP10.phx.gbl...
    >
    > "S N" <uandme72@yahoo.com> wrote in message
    > news:OWCkuVGMEHA.1272@tk2msftngp13.phx.gbl...
    > >
    > > > I have inserted some javascript on an asp page.the script is for
    > > attaching a
    > > > tail to the mouse icon on the screen.
    >
    > Ooohhh! Way cool!
    >
    > > > When the asp page contains -
    > > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    > > > "http://www.w3.org/TR/html4/loose.dtd">
    > > > at the top the javascript does not function.
    >
    > Isn't that a good thing?
    >
    > > > When I remove this string the script works alright.
    >
    > Dang!
    >
    > > Further when I change the extension of the page to htm the javascript
    > > works alright even with the line at the top of the page
    >
    > Dang again!
    >
    > > > What is the problem?
    >
    > Besides bad taste and blatant amateurism? Hard to say.
    >
    > > > Please advise.
    >
    > See a client-side scripting group.
    >
    > Bob Lehmann
    >
    >

    S N Guest

  6. #5

    Default Re: Script does not work!

    S N wrote on 03 mei 2004 in microsoft.public.inetserver.asp.db:
    > I agree that this is not connected to databases or asp engine. But
    > since it was an error in an asp page I had posted in this group.
    > Please advise me on the name of a client side scripting newsgroup.
    "This group" ?
    You are multiposting and topposting.
    Both are frowned upon in usenet.

    What about "comp.lang.javascript" for starters?



    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan. Guest

  7. #6

    Default Re: Script does not work!

    > You are multiposting

    To be pedantic, he is cross-posting. Multi-posting involves posting
    separate identical messages, independently, to multiple groups.
    > and topposting.
    > Both are frowned upon in usenet.
    Actually, I think you will find that there is a wide variety of opinion on
    which is best: top-posting, bottom-posting, or interspersing the response
    with the original text. I use all three styles, depending on the amount of
    content and how much effort I'm willing to make.

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]



    Aaron Bertrand - MVP Guest

  8. #7

    Default Re: Script does not work!

    S N wrote:
    > I agree that this is not connected to databases or asp engine. But
    > since it was an error in an asp page I had posted in this group.
    > Please advise me on the name of a client side scripting newsgroup.
    In addition to Evertjan's suggestion, try one of the groups with "dhtml" in
    their name, as well as the .scripting.jscript group.

    Bob Barrows
    --
    Microsoft MVP -- ASP/ASP.NET
    Please reply to the newsgroup. The email account listed in my From
    header is my spam trap, so I don't check it very often. You will get a
    quicker response by posting to the newsgroup.


    Bob Barrows [MVP] Guest

  9. #8

    Default Re: Script does not work!

    Aaron Bertrand - MVP wrote on 03 mei 2004 in
    microsoft.public.inetserver.asp.general:
    >> You are multiposting
    >
    > To be pedantic, he is cross-posting. Multi-posting involves posting
    > separate identical messages, independently, to multiple groups.
    No Aaron, I added mpi.asp.general as follow up.
    The mail I quoted was mpi.asp.db only.
    >> and topposting.
    >> Both are frowned upon in usenet.
    >
    > Actually, I think you will find that there is a wide variety of
    > opinion on which is best: top-posting, bottom-posting, or
    > interspersing the response
    We two discussed more than once. Top posting is inferior imho AND in that
    of many others. And with reason.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan. Guest

  10. #9

    Default Re: Script does not work!

    > No Aaron, I added mpi.asp.general as follow up.

    Sorry, I didn't realize you added the cross-post.
    > We two discussed more than once. Top posting is inferior imho AND in that
    > of many others. And with reason.
    Key phrase: imho. It is completely subjective, and it is pretty obtuse,
    imho, to tell someone that they shouldn't do it.


    Aaron Bertrand - MVP Guest

  11. #10

    Default Re: Script does not work!

    So in reality what should happen is that everyone should stop complaining and arguing about top and
    bottom posting and accept whatever is best for each user without questioning it.

    Chris.

    "Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
    news:Xns94DEDD02B166eejj99@194.109.133.29...
    Aaron Bertrand - MVP wrote on 03 mei 2004 in
    microsoft.public.inetserver.asp.general:
    >> You are multiposting
    >
    > To be pedantic, he is cross-posting. Multi-posting involves posting
    > separate identical messages, independently, to multiple groups.
    No Aaron, I added mpi.asp.general as follow up.
    The mail I quoted was mpi.asp.db only.
    >> and topposting.
    >> Both are frowned upon in usenet.
    >
    > Actually, I think you will find that there is a wide variety of
    > opinion on which is best: top-posting, bottom-posting, or
    > interspersing the response
    We two discussed more than once. Top posting is inferior imho AND in that
    of many others. And with reason.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)


    Chris Barber Guest

  12. #11

    Default Re: Script does not work!

    Aaron Bertrand - MVP wrote on 03 mei 2004 in
    microsoft.public.inetserver.asp.general:
    >> No Aaron, I added mpi.asp.general as follow up.
    >
    > Sorry, I didn't realize you added the cross-post.
    ok
    >> We two discussed more than once. Top posting is inferior imho AND in
    >> that of many others. And with reason.
    >
    > Key phrase: imho. It is completely subjective, and it is pretty
    > obtuse, imho, to tell someone that they shouldn't do it.
    I will not start an argument with you. You are far to valuable in this NG.



    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan. Guest

  13. #12

    Default Re: Script does not work!

    > I will not start an argument with you. You are far to valuable in this NG.

    I don't understand what any argument would be about. It would be like
    telling everybody that they should drive a BMW and not a Mercedes.


    Aaron Bertrand - MVP Guest

  14. #13

    Default Re: Script does not work!

    Aaron Bertrand - MVP wrote on 03 mei 2004 in
    microsoft.public.inetserver.asp.general:
    >> I will not start an argument with you. You are far to valuable in
    >> this NG.
    >
    > I don't understand what any argument would be about. It would be like
    > telling everybody that they should drive a BMW and not a Mercedes.
    I will not start an argument with you.

    --
    Evertjan.
    The Netherlands.
    (Please change the x'es to dots in my emailaddress)
    Evertjan. Guest

  15. #14

    Default Re: Script does not work!


    "Chris Barber" wrote in message
    news:uFtpLEWMEHA.1468@TK2MSFTNGP12.phx.gbl...
    : So in reality what should happen is that everyone should stop complaining
    and arguing about top and
    : bottom posting and accept whatever is best for each user without
    questioning it.

    Chris...

    I think the idea of trimming the post to only relevant information for what
    you're responding to, following with your response, uses the least amount of
    bandwidth and disk space and does actually make it easier for others to
    follow along.

    If we are going to subject ourselves to anything anyone wants to do, without
    question or response, then that means it is also ok to post in RTF, USE ALL
    UPPERCASE, include executable attachments, including infected ones, and
    SPAM, since that is the best for the spammer.

    The NGs are supposed to be a community to help those in need, not just those
    who are asking. The needs of the many should outweigh the wants of the few.
    The NGs are not designed for a get-quick-response so it's really not too
    much to ask to trim responses to relevant data and put your responses below,
    is it? It is also not so difficult that even beginner [noob] wouldn't be
    able to do it. You wouldn't read a book starting with the last chapter and
    then working your way to the first chapter would you?

    Email is one-on-one, excluding the gal in IT peeking into your mailbox, so
    you know the whole thread. Someone else reading the message would have to
    start at the bottom post, read down, move up to the next post, read down,
    etc. That really doesn't work in a newsgroup setting.

    Disclaimer: I'm not here to argue either because I know you cannot control
    the actions of others. I'm just offering my opinion.

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Technet Script Center - [url]http://www.microsoft.com/technet/scriptcenter/[/url]
    WSH 5.6 Documentation - [url]http://msdn.microsoft.com/downloads/list/webdev.asp[/url]
    MSDN Library - [url]http://msdn.microsoft.com/library/default.asp[/url]


    Roland Hall Guest

  16. #15

    Default Re: Script does not work!

    Yikes - I should have kept my trap shut. :)

    I agree with it all apart from the stupid issue of top / bottom posting. That one is split 50/50 (or
    something like that) with those on OE as a newsgroup reader and those on ... something else? With OE
    it's natural to read and top-post and OE does appear to be the most common newsreader around in the
    Microsoft centric world and Microsoft centric newsgroups? So my opinion stands - top-post,
    bottom-post, who really cares - you can't win either way unless everyone is using the same
    newsreader?

    And .. we're all guilty of forgetting to trim. Still, 1Kb, 2Kb, 8Kb - not a lot of difference as far
    as I can see unless it grows to ridiculous proportions in which case you (generic term, not 'you'
    specifically) have to be monumentally careless to not trim the excess. From what I can see, 95% of
    all posts are < 5Kb and even on a dial-up that's only about 2 seconds to download.

    As per your post - just my two cents.
    Feel free to jump in again but I'm gonna leave this one before I get burnt and go and look at some
    more XSLT (which rocks).

    Chris.

    "Roland Hall" <nobody@nowhere> wrote in message news:%23pULxlWMEHA.1272@tk2msftngp13.phx.gbl...


    Chris Barber Guest

  17. #16

    Default Re: Script does not work!

    How to access the comp.lang.javascript newsgroup from outlook express. I
    mean what is the news server address for comp.lang.javascript newsgroup?


    "Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
    news:Xns94DEBA583FD48eejj99@194.109.133.29...
    > S N wrote on 03 mei 2004 in microsoft.public.inetserver.asp.db:
    > > I agree that this is not connected to databases or asp engine. But
    > > since it was an error in an asp page I had posted in this group.
    > > Please advise me on the name of a client side scripting newsgroup.
    >
    > "This group" ?
    > You are multiposting and topposting.
    > Both are frowned upon in usenet.
    >
    > What about "comp.lang.javascript" for starters?
    >
    >
    >
    > --
    > Evertjan.
    > The Netherlands.
    > (Please change the x'es to dots in my emailaddress)

    S N Guest

  18. #17

    Default Re: Script does not work!

    "Chris Barber" wrote in message
    news:%23j6YTPYMEHA.128@TK2MSFTNGP09.phx.gbl...
    : Yikes - I should have kept my trap shut. :)

    Nah, I prefer you respond and thanks for doing so.

    Roland


    Roland Hall Guest

  19. #18

    Default Re: Script does not work!

    > How to access the comp.lang.javascript newsgroup from outlook express. I
    > mean what is the news server address for comp.lang.javascript newsgroup?
    Find out from your ISP. Usually news.yourISP.com

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]


    Aaron Bertrand [MVP] Guest

  20. #19

    Default Re: Script does not work!



    what is the news server address for this news group for me to access it
    through outlook express.

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    S N Guest

  21. #20

    Default Re: Script does not work!



    mpi.asp.general -how to access this newsgroup?

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    S N Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139