> Hi,
> I am trying to modify an ASP 3.0 app and am running into an issue.
This is a Java newsgroup.
> Essentially the part that I'm modifying queries the database and
> returns a record count. This part is done using
> "Microsoft.XMLHTTP".
> ...
> I have been looking at ways to pause apps in java and came across
You show us no Java. This is a Java newsgroup.
> setInterval and clearInterval. But that is not working like I'd
> expect. Here's what I'd like to do:
[quoted text clipped - 6 lines]
> am
> posting some of the code. This code has two problems:
It's not Java, and this is a Java newsgroup.
> function CallComplete()
This is not Java syntax.
> {
> var numberOfInvoiceRows =
Not Java syntax.
> spnTableDisplay.firstChild.tBodies[0].rows.length
>
> for(var index = 0; index < numberOfInvoiceRows; index++)
> {
Sorry. You are not using Java.

Signature
Lew
Doogie - 12 Apr 2007 15:42 GMT
Thanks for the help. :)
what is the difference between java and java script (for my
information)?
Andrew Thompson - 12 Apr 2007 15:52 GMT
..
>what is the difference between java and java script..?
Chase the links..
<http://www.physci.org/codes/javafaq.html#js>

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Lew - 13 Apr 2007 02:39 GMT
Doogie wrote:
> .
>> what is the difference between java and java script..?
Basically, they are just different languages, like, say, BASIC and FORTRAN.
Or PHP and Ruby. Or SNOBOL and COBOL.
Briefly, Javascript is a (primarily) client-side scripting language with
dynamic typing and no compilation phase. Java is a full-bore, strongly-typed
object-oriented computer language that has a compilation phase. Typically,
Javascript runs directly in a user's browser on the client machine. Java code
runs just about anywhere, in or out of browsers, client or server.

Signature
Lew
Andrew Thompson - 13 Apr 2007 03:15 GMT
..
>..Java is a full-bore, strongly-typed
>object-oriented computer language that has a compilation phase. Typically,
>Javascript runs directly in a user's browser on the client machine.
I always find it odd when people mention that Java
is an OO* language, but fail to mention that ..so is
JavaScript!
(*Though admittedly, your OO comment was immediately
preceded by *strongly* *typed*, whereas JS is not strongly
typed, so perhaps I am reading too much into the mention
of 'OO'.)

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Lew - 13 Apr 2007 05:07 GMT
Lew wrote:
>> Java is a full-bore, strongly-typed
>> object-oriented computer language that has a compilation phase.
> I always find it odd when people mention that Java
> is an OO* language, but fail to mention that ..so is
[quoted text clipped - 4 lines]
> typed, so perhaps I am reading too much into the mention
> of 'OO'.)
Javascript does support a flavor of object manipulation. I consider it not
enough to represent the orientation of the language. Java is almost so
object-oriented you'd have to call it an "object-obsessed" language.
(Autoboxing is Java's way of covering its embarrassment at having primitives
about.)
And, yes, I did use the phrase "strongly-typed" for Java. You are correct
that I deem that the more significant part of that particular comparison.
My intent wasn't to comprehensively compare the languages but to provide to
the OP enough information to honor their question and to portray that the
languages are, indeed, different.

Signature
Lew
Andrew Thompson - 13 Apr 2007 05:57 GMT
>Lew wrote:
>>> Java is a full-bore, strongly-typed
>>> object-oriented computer language that has a compilation phase.
(Andrew)
>> I always find it odd when people mention that Java
>> is an OO* language, but fail to mention that ..so is
(JS)
>Javascript does support a flavor of object manipulation. I consider it not
>enough to represent the orientation of the language. Java is almost so
>object-oriented you'd have to call it an "object-obsessed" language.
LOL
(snip)
>My intent wasn't to comprehensively compare the languages..
Thanks for clarifying.

Signature
Andrew Thompson
http://www.athompson.info/andrew/
Lew - 13 Apr 2007 16:56 GMT
> (snip)
>> My intent wasn't to comprehensively compare the languages..
An ellipsis comprises three period characters and should be set off by a
single space.
(Just giving you a poke in the ribs, there, Andrew.)

Signature
Lew