Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

javascript debugger; statment not working for me.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
active - 30 Jun 2007 21:16 GMT
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?
Mark Rae - 30 Jun 2007 21:19 GMT
> <script language="JavaScript" type="text/JavaScript">

What happens if you use:

<script type="text/javascript">

Signature

http://www.markrae.net

active - 01 Jul 2007 00:14 GMT
Same problem.

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

Thanks

>> <script language="JavaScript" type="text/JavaScript">
>
> What happens if you use:
>
> <script type="text/javascript">
Mark Rae - 01 Jul 2007 01:05 GMT
> Is that what you'd recommend I use?

Yes.

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

Absolutely not - the language tag is obsolete...

Signature

http://www.markrae.net

Juan T. Llibre - 01 Jul 2007 01:41 GMT
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/
======================================

>> Is that what you'd recommend I use?
>
[quoted text clipped - 4 lines]
>
> Absolutely not - the language tag is obsolete...
active - 01 Jul 2007 01:49 GMT
Could you please expand on that.

> 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/
[quoted text clipped - 9 lines]
>>
>> Absolutely not - the language tag is obsolete...
Juan T. Llibre - 01 Jul 2007 06:43 GMT
<%@ 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/
======================================

> Could you please expand on that.
>
[quoted text clipped - 23 lines]
>>>
>>> Absolutely not - the language tag is obsolete...
active - 01 Jul 2007 17:14 GMT
Thanks

> <%@ Page Language="VB" AutoEventWireup="true" %>
>
[quoted text clipped - 40 lines]
>>>>
>>>> Absolutely not - the language tag is obsolete...
Mark Rae - 01 Jul 2007 09:21 GMT
>> 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 - 01 Jul 2007 17:15 GMT
thanks
I think I understand now
>>> re:
>>> !> the language tag is obsolete
[quoted text clipped - 15 lines]
> --
> http://www.markrae.net
active - 01 Jul 2007 01:46 GMT
thanks

>> Is that what you'd recommend I use?
>
[quoted text clipped - 4 lines]
>
> Absolutely not - the language tag is obsolete...
active - 01 Jul 2007 02:46 GMT
no problem
I guess it stopped because it was suppose to.

I don't know what the "undefined" means

> Q317094 mentions the debugger statement.
>
[quoted text clipped - 20 lines]
>
> When is the difference between JScript and javascript important?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.