Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with Functions and Arrays 1

Status
Not open for further replies.

autograf

Technical User
Apr 27, 2003
8
US
can anybody explain to me how to use functions and arrays
 
ok but this does'nt really help me understand how to use them
 
functions do things for you...whatever you design them to do:

function helloWorld() {
alert("Hello World");
}


arrays are indexed lists and can be convenient ways to store lots of data

arrColors = ["red","green","blue"];
alert( arrColors[0] );


=========================================================
while (!succeed) try();
-jeff
 
ok that makes things a bit easier to understand
 
autograf,

Listen I don´t want to sound patronising here but functions and arrays are really easy to learn on your own and a little search in Google with tutorial and javascript as keywords would have yielded all the stuff you may have needed.

This forum is a technical forum for computer Professionals. We do help people that are learning but we don´t offer free courses. Now let´s say that you come back with questions that show you are attempting on your own to learn then maybe we´ll help you out but in the current way you are asking questions it´s hard to take you seriously.

Gary Haran
==========================
 
Let me get this right buddy i've been a web designer for 5 years on the graphic side of things i know, im now trying to learn some scripting.everybody knows how to type url and come up with a site, but learning how its all done is a bit more interesting no !
 
autograf if you have 30 minutes to an hour of free time check the Javascript section at and you'll be able to find and understand the information you are looking for.

It won't make you an expert but you'll get your feet wet.

From there use the reference guides found at to get more information.

Good luck.
 
get the o'reilly book javascript: the definitive guide

and read it cover to cover - you'll be a whiz...i've read it twice so far :)


=========================================================
while (!succeed) try();
-jeff
 
autograf,

I had seen your post thread216-535095 and it looked as though you had not idea what this site was all about. Apparently you may have done an honest mistake by asking your question where answers are usually given.

I went overboard and would like you to accept my apologies.

Gary Haran
==========================
 
this might sound stupid but i already have the book , but i have just started reading it. The reason why im interested in learning javascript is because it's close to actionscript used with flash which i've been using for a couple of years but with out a good background of scripting it can be a pain in the Ar..... :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top