javascript debugger; statment not working for me.

Discussion in 'ASP .Net' started by active, Jun 30, 2007.

  1. active

    active Guest

    Q317094 mentions the debugger statement.

    I tried:
    <script language="JavaScript" type="text/JavaScript">



    function resizeImg(oID)

    {

    debugger;

    ....

    An at run time (F5) I get:

    debugger undefined

    Am I doing something wrong (debug is on in IE6)?



    BTW

    I also tried JScript - same result.

    When is the difference between JScript and javascript important?
     
    active, Jun 30, 2007
    #1
    1. Advertising

  2. active

    Mark Rae Guest

    " active" <> wrote in message
    news:...

    > <script language="JavaScript" type="text/JavaScript">


    What happens if you use:

    <script type="text/javascript">


    --
    http://www.markrae.net
     
    Mark Rae, Jun 30, 2007
    #2
    1. Advertising

  3. active

    active Guest

    Same problem.

    Is that what you'd recommend I use?
    What about "language="
    should I include that?


    Thanks



    "Mark Rae" <> wrote in message
    news:%...
    >" active" <> wrote in message
    >news:...
    >
    >> <script language="JavaScript" type="text/JavaScript">

    >
    > What happens if you use:
    >
    > <script type="text/javascript">
    >
    >
    > --
    > http://www.markrae.net
     
    active, Jul 1, 2007
    #3
  4. active

    Mark Rae Guest

    " active" <> wrote in message
    news:%...

    > Is that what you'd recommend I use?


    Yes.

    > What about "language="
    > should I include that?


    Absolutely not - the language tag is obsolete...


    --
    http://www.markrae.net
     
    Mark Rae, Jul 1, 2007
    #4
  5. re:
    !> the language tag is obsolete

    Only for client-side languages.
    For server-side languages, the language tag is essential.




    Juan T. Llibre, asp.net MVP
    asp.net faq : http://asp.net.do/faq/
    foros de asp.net, en español : http://asp.net.do/foros/
    ======================================
    "Mark Rae" <> wrote in message news:...
    >" active" <> wrote in message news:%...
    >
    >> Is that what you'd recommend I use?

    >
    > Yes.
    >
    >> What about "language="
    >> should I include that?

    >
    > Absolutely not - the language tag is obsolete...
    >
    >
    > --
    > http://www.markrae.net
     
    Juan T. Llibre, Jul 1, 2007
    #5
  6. active

    active Guest

    thanks
    "Mark Rae" <> wrote in message
    news:...
    >" active" <> wrote in message
    >news:%...
    >
    >> Is that what you'd recommend I use?

    >
    > Yes.
    >
    >> What about "language="
    >> should I include that?

    >
    > Absolutely not - the language tag is obsolete...
    >
    >
    > --
    > http://www.markrae.net
     
    active, Jul 1, 2007
    #6
  7. active

    active Guest

    Could you please expand on that.


    "Juan T. Llibre" <> wrote in message
    news:...
    > re:
    > !> the language tag is obsolete
    >
    > Only for client-side languages.
    > For server-side languages, the language tag is essential.


    Could you please expand on that.
    Give me the names of a few client-side languages
    and a few server-side languages.


    thanks



    >
    >
    >
    >
    > Juan T. Llibre, asp.net MVP
    > asp.net faq : http://asp.net.do/faq/
    > foros de asp.net, en español : http://asp.net.do/foros/
    > ======================================
    > "Mark Rae" <> wrote in message
    > news:...
    >>" active" <> wrote in message
    >>news:%...
    >>
    >>> Is that what you'd recommend I use?

    >>
    >> Yes.
    >>
    >>> What about "language="
    >>> should I include that?

    >>
    >> Absolutely not - the language tag is obsolete...
    >>
    >>
    >> --
    >> http://www.markrae.net

    >
    >
     
    active, Jul 1, 2007
    #7
  8. active

    active Guest

    no problem
    I guess it stopped because it was suppose to.

    I don't know what the "undefined" means


    " active" <> wrote in message
    news:...
    > Q317094 mentions the debugger statement.
    >
    > I tried:
    > <script language="JavaScript" type="text/JavaScript">
    >
    >
    >
    > function resizeImg(oID)
    >
    > {
    >
    > debugger;
    >
    > ...
    >
    > An at run time (F5) I get:
    >
    > debugger undefined
    >
    > Am I doing something wrong (debug is on in IE6)?
    >
    >
    >
    > BTW
    >
    > I also tried JScript - same result.
    >
    > When is the difference between JScript and javascript important?
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
     
    active, Jul 1, 2007
    #8
  9. <%@ Page Language="VB" AutoEventWireup="true" %>

    <%@ Page Language="C#" AutoEventWireup="true" %>

    <%@ Page Language="VJ#" AutoEventWireup="true" %>

    <%@ Page Language="PHP" AutoEventWireup="true" %>
    ( This last one requires Phalanger to run PHP as a server-side language )

    These examples show that the language tag is essential for server-side languages.




    Juan T. Llibre, asp.net MVP
    asp.net faq : http://asp.net.do/faq/
    foros de asp.net, en español : http://asp.net.do/foros/
    ======================================

    " active" <> wrote in message news:%...
    > Could you please expand on that.
    >
    >
    > "Juan T. Llibre" <> wrote in message news:...
    >> re:
    >> !> the language tag is obsolete
    >>
    >> Only for client-side languages.
    >> For server-side languages, the language tag is essential.

    >
    > Could you please expand on that.
    > Give me the names of a few client-side languages
    > and a few server-side languages.
    >
    >
    > thanks
    >
    >
    >
    >>
    >>
    >>
    >>
    >> Juan T. Llibre, asp.net MVP
    >> asp.net faq : http://asp.net.do/faq/
    >> foros de asp.net, en español : http://asp.net.do/foros/
    >> ======================================
    >> "Mark Rae" <> wrote in message news:...
    >>>" active" <> wrote in message news:%...
    >>>
    >>>> Is that what you'd recommend I use?
    >>>
    >>> Yes.
    >>>
    >>>> What about "language="
    >>>> should I include that?
    >>>
    >>> Absolutely not - the language tag is obsolete...
    >>>
    >>>
    >>> --
    >>> http://www.markrae.net

    >>
    >>

    >
    >
     
    Juan T. Llibre, Jul 1, 2007
    #9
  10. active

    Mark Rae Guest

    > "Juan T. Llibre" <> wrote in message
    > news:...
    >> re:
    >> !> the language tag is obsolete
    >>
    >> Only for client-side languages.
    >> For server-side languages, the language tag is essential.


    :)

    > Could you please expand on that.
    > Give me the names of a few client-side languages


    JavaScript, VBScript

    > and a few server-side languages.


    http://dotnetpowered.com/languages.aspx


    --
    http://www.markrae.net
     
    Mark Rae, Jul 1, 2007
    #10
  11. active

    active Guest

    Thanks

    "Juan T. Llibre" <> wrote in message
    news:...
    > <%@ Page Language="VB" AutoEventWireup="true" %>
    >
    > <%@ Page Language="C#" AutoEventWireup="true" %>
    >
    > <%@ Page Language="VJ#" AutoEventWireup="true" %>
    >
    > <%@ Page Language="PHP" AutoEventWireup="true" %>
    > ( This last one requires Phalanger to run PHP as a server-side language )
    >
    > These examples show that the language tag is essential for server-side
    > languages.
    >
    >
    >
    >
    > Juan T. Llibre, asp.net MVP
    > asp.net faq : http://asp.net.do/faq/
    > foros de asp.net, en español : http://asp.net.do/foros/
    > ======================================
    >
    > " active" <> wrote in message
    > news:%...
    >> Could you please expand on that.
    >>
    >>
    >> "Juan T. Llibre" <> wrote in message
    >> news:...
    >>> re:
    >>> !> the language tag is obsolete
    >>>
    >>> Only for client-side languages.
    >>> For server-side languages, the language tag is essential.

    >>
    >> Could you please expand on that.
    >> Give me the names of a few client-side languages
    >> and a few server-side languages.
    >>
    >>
    >> thanks
    >>
    >>
    >>
    >>>
    >>>
    >>>
    >>>
    >>> Juan T. Llibre, asp.net MVP
    >>> asp.net faq : http://asp.net.do/faq/
    >>> foros de asp.net, en español : http://asp.net.do/foros/
    >>> ======================================
    >>> "Mark Rae" <> wrote in message
    >>> news:...
    >>>>" active" <> wrote in message
    >>>>news:%...
    >>>>
    >>>>> Is that what you'd recommend I use?
    >>>>
    >>>> Yes.
    >>>>
    >>>>> What about "language="
    >>>>> should I include that?
    >>>>
    >>>> Absolutely not - the language tag is obsolete...
    >>>>
    >>>>
    >>>> --
    >>>> http://www.markrae.net
    >>>
    >>>

    >>
    >>

    >
    >
    >
     
    active, Jul 1, 2007
    #11
  12. active

    active Guest

    thanks
    I think I understand now
    "Mark Rae" <> wrote in message
    news:...
    >> "Juan T. Llibre" <> wrote in message
    >> news:...
    >>> re:
    >>> !> the language tag is obsolete
    >>>
    >>> Only for client-side languages.
    >>> For server-side languages, the language tag is essential.

    >
    > :)
    >
    >> Could you please expand on that.
    >> Give me the names of a few client-side languages

    >
    > JavaScript, VBScript
    >
    >> and a few server-side languages.

    >
    > http://dotnetpowered.com/languages.aspx
    >
    >
    > --
    > http://www.markrae.net
     
    active, Jul 1, 2007
    #12
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JL

    Return statment

    JL, Dec 17, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    393
    Hermit Dave
    Dec 17, 2003
  2. crjunk
    Replies:
    2
    Views:
    1,588
    crjunk
    Sep 3, 2004
  3. Luk
    Replies:
    2
    Views:
    310
    Andrew Thompson
    Feb 10, 2004
  4. Bill Sneddon
    Replies:
    2
    Views:
    1,198
    Bill Sneddon
    Jun 28, 2003
  5. Mike Mike
    Replies:
    2
    Views:
    90
    Marc Heiler
    Aug 2, 2008
Loading...

Share This Page