473,395 Members | 2,446 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,395 software developers and data experts.

Javascript Tutorial

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
2 1273
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: binnyva | last post by:
Hello Everybody, I am writing an interactive tutorial for JavaScript. I created a text box into which the users can input javascript commands. On pressing a button, these commands will be...
15
by: binnyva | last post by:
Hello Everyone, I have just compleated a JavaScript tutorial and publishing the draft(or the beta version, as I like to call it) for review. This is not open to public yet. The Tutorial is...
2
by: Alan Searle | last post by:
I would like to use an XSL/HTML template to sort XML data dynamically on the client side. As it is, I found a tutorial showing how to do this on the following site ... ...
23
Frinavale
by: Frinavale | last post by:
JavaScript is a very strange place for me... So, I decided that, before I attempt to create an Object, I should first learn about Objects. I had actually created one before with the help of a...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.