By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,369 Members | 1,599 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,369 IT Pros & Developers. It's quick & easy.

Javascript Tutorial

P: n/a
Here is small javascript that i aggregated using various sources from
web.
Please comment if you find it useful.
http://sandy007smarty.seo.iitm.ac.in...ript-tutorial/

Sep 25 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Turbo said the following on 9/25/2006 5:45 PM:
Here is small javascript that i aggregated using various sources from
web.
Please comment if you find it useful.
http://sandy007smarty.seo.iitm.ac.in...ript-tutorial/
Section 2 alone has 3 errors/bad information in it:

<quote>
<SCRIPT>
(JavaScript code goes in here)

</SCRIPT>
</quote>

The type attribute is mandatory so it should be:
<script type="text/javascript">

Next error:
Clicking the text link for the "demo" doesn't do what it is intended to
do. It only navigates, no alert message

MAJOR problem #3:

With regards to "older browsers that do not understand script" and the
commenting of code. That is the *worst* advice anyone reading a tutorial
could be given.

Numbers. Numbers can be any base you want in JS, as long as you know how
to deal with them.

There are more but I stopped reading about 1/3rd through the page.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Sep 25 '06 #2

P: n/a
JRS: In article <V9******************************@comcast.com>, dated
Mon, 25 Sep 2006 18:44:32 remote, seen in news:comp.lang.javascript,
Randy Webb <Hi************@aol.composted :
>
Numbers. Numbers can be any base you want in JS, as long as you know how
to deal with them.
Only 2..36 are handled natively. Such as Base-85, which is used for
encoding in PostScript, would need more coding. It'll be difficult to
do much in bases over 2^26, and impossible over 2^53.

<URL:http://www.merlyn.demon.co.uk/js-maths.htm#Basehas a converter
form for 2..36, and another for a base of one plus as many "digits" as
you care to provide (I think; demo is default 64.

--
John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4
<URL:http://www.jibbering.com/faq/>? JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htmjscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/TP/BP/Delphi/jscr/&c, FAQ items, links.
Sep 26 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.