@KorNov 05.2006 — #there is no javascript functions' list, as any coder may (and must) name the functions whichever he wants to (except for using the javascript reserved words).
I guess that you ment to say [B]methods[/B].
Well, it is hard to find somewhere a list of methods (as each object/element accepts it's own methods as native)
[COLOR=blue]I guess you have not understood the essence of javascript. Javascript works like that:
Document has [B]elements[/B] (tags, text...). Elements have [B]attributes/properties[/B]. Attributes have [B]values[/B].
In order to refere/create/change/remove the elements/attributes/values, javascript uses [B]methods[/B] (the methods are to be used according to the elements). Methods are nested in [B]functions[/B]. Functions are triggered by [B]events[/B], following the user's [B]actions[/B].
[/COLOR]
For instance;
var obj = document.getElementById('someid');
- getElementById() is a method to refere an element upon it's id
obj.setAttribute('readOnly','readonly')
- setAttribute() is a method to set/change an element's attribute. In the example it will set a form's control as readonly. Note that the "readOnly" attribute is native [I]only[/I] only for some of the form's controls, not for all the elements.
To be more intricate (that is why I have chosen the readonly example), IE and Moz (mainly, but there are other small differences or even bugs for other browsers as well) use sometimes different methods, so that there is no comprehensive list of methods, as there is no browser yet which is able to follow [B]all[/B] the standards. In that examaple, 'readonly' is the standard accepted attribute name, but IE needs the camelcase 'read[B][COLOR=Red]O[/COLOR][/B]nly'
That means you should start from studying elements (and their native attributes and methods) rather than start from studying methods.
Further more, javascript is a prototype oriented language, that means the objects can be also properties of other objects as well, so that this dual existance allows different methods, according to the way you have referenced/treated that element, as an object, or as a property.
Now? What we were talking about? Can you detail what you are really looking for?
@bpool_leeauthorNov 05.2006 — #thanks but... after a very long search i managed to find what i wanted to find, it was the methods and properties of different objects.