473,324 Members | 2,567 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

javascript debugger; statment not working for me.

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?




Jun 30 '07 #1
11 1485
" active" <ac**********@a-znet.comwrote in message
news:Oz**************@TK2MSFTNGP06.phx.gbl...
<script language="JavaScript" type="text/JavaScript">
What happens if you use:

<script type="text/javascript">
--
http://www.markrae.net

Jun 30 '07 #2
Same problem.

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

"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>" active" <ac**********@a-znet.comwrote in message
news:Oz**************@TK2MSFTNGP06.phx.gbl...
><script language="JavaScript" type="text/JavaScript">

What happens if you use:

<script type="text/javascript">
--
http://www.markrae.net

Jun 30 '07 #3
" active" <ac**********@a-znet.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
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

Jul 1 '07 #4
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" <ma**@markNOSPAMrae.netwrote in message news:O7**************@TK2MSFTNGP06.phx.gbl...
>" active" <ac**********@a-znet.comwrote in message news:%2****************@TK2MSFTNGP05.phx.gbl...
>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

Jul 1 '07 #5
thanks
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:O7**************@TK2MSFTNGP06.phx.gbl...
>" active" <ac**********@a-znet.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl...
>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

Jul 1 '07 #6
Could you please expand on that.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:u4**************@TK2MSFTNGP03.phx.gbl...
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" <ma**@markNOSPAMrae.netwrote in message
news:O7**************@TK2MSFTNGP06.phx.gbl...
>>" active" <ac**********@a-znet.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl.. .
>>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


Jul 1 '07 #7
no problem
I guess it stopped because it was suppose to.

I don't know what the "undefined" means
" active" <ac**********@a-znet.comwrote in message
news:Oz**************@TK2MSFTNGP06.phx.gbl...
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?




Jul 1 '07 #8
<%@ 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" <ac**********@a-znet.comwrote in message news:%2****************@TK2MSFTNGP02.phx.gbl...
Could you please expand on that.
"Juan T. Llibre" <no***********@nowhere.comwrote in message news:u4**************@TK2MSFTNGP03.phx.gbl...
>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" <ma**@markNOSPAMrae.netwrote in message news:O7**************@TK2MSFTNGP06.phx.gbl...
>>>" active" <ac**********@a-znet.comwrote in message news:%2****************@TK2MSFTNGP05.phx.gbl...

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




Jul 1 '07 #9
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:u4**************@TK2MSFTNGP03.phx.gbl...
>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
Jul 1 '07 #10
Thanks

"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:uv**************@TK2MSFTNGP02.phx.gbl...
<%@ 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" <ac**********@a-znet.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
>Could you please expand on that.
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:u4**************@TK2MSFTNGP03.phx.gbl...
>>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" <ma**@markNOSPAMrae.netwrote in message
news:O7**************@TK2MSFTNGP06.phx.gbl...
" active" <ac**********@a-znet.comwrote in message
news:%2****************@TK2MSFTNGP05.phx.gbl.. .

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





Jul 1 '07 #11
thanks
I think I understand now
"Mark Rae" <ma**@markNOSPAMrae.netwrote in message
news:ui**************@TK2MSFTNGP04.phx.gbl...
>"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:u4**************@TK2MSFTNGP03.phx.gbl...
>>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

Jul 1 '07 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: alonzo | last post by:
I am working on a piece of javaScript code and using MIE 6.0. I have and error and I would like to use a debugger to locate the error. Is there a debugger for MIE? How do I turn the debugger on...
25
by: Jeff | last post by:
Use the MS Script Editor included free with MS Office 2002 and above, for debugging Internet Explorer (IE). This subject is of great interest to many JS developers, as there is no obvious, low...
4
by: Malik Arykov | last post by:
Hello, All! how debug embedded javascript?
3
by: krishna | last post by:
Below is the code. language = asp.net/vb.net private sub openW() sResult = sResult & "<script language=javascript> mywindow =...
2
by: TastyKarma | last post by:
Was hoping somebody might have experienced this before. I have client-side javascript in my aspx files. For some reason when I place the "debugger;" keyword in my javascript, Visual Studio no...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.