PDA

View Full Version : JS Functions??



magicyte
09-15-2008, 09:17 PM
I have studied JavaScript, and at one time it was my favorite programming language. But I still have one question: what are the built-in functions (that any of you guys would know of) in JavaScript?

Please let me know if this thread is non-feasible and not needed (that is, the Moderators).

-magicyte

jscheuer1
09-16-2008, 02:23 AM
It's not really feasible to cover this exhaustively in a post, there are so many native 'functions' - I prefer to think of them as methods or objects, and technically I believe they are objects. Things like:


document.getElementById();

or:


Date();

Which are both objects, but not at the same level. Here is a fairly good reference (covers standard objects and Mozilla specific ones - usually distinguishing between the two, also covers some IE specific stuff tangentially):

http://developer.mozilla.org/en/A_re-introduction_to_JavaScript

Here is the MS reference:

http://msdn.microsoft.com/en-us/library/72bd815a(VS.80).aspx

Where all IE specific methods are covered, along with standard ones. Mention is usually made as to which is which.

magicyte
09-16-2008, 03:30 AM
Heh. That's what I thought. Too large of an area to cover. Thank you for your kind post! I will remember those URLs.

-magicyte