473,378 Members | 1,218 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,378 software developers and data experts.

Looking for Object browser

Hello,

Can someone please point me to THE source for complete javascript
documentation?

Particualry I am interested in the document object. For example with,
document.getElementById(id), there is at least style and rows
properties and with rows you can get lenght:

eg document.getElementById(id).Style
document.getElementById(id).Rows.Length

What I would really like is to be able to look at an object browser
which shows every property and method associated with the javascript
document object (and all of the other objects too but I don't want to
be greety!).

Hopefully this is out there some where. I keep hanging out here asking
for fish when really I want a fishing rod of my own.

Can any one help me out?

Jul 23 '05 #1
1 1512
sc******@hotmail.com wrote:
Can someone please point me to THE source for complete javascript
documentation?
See the FAQ (<URL:http://jibbering.com/faq/>).
[...] For example with, document.getElementById(id), there is at
least style and rows properties and with rows you can get lenght:
You misunderstand. The getElementById method returns a reference to an
element, such as a TABLE or [A]nchor, based on the id attribute of
elements in the document. Once you have a reference to an element, you
can then access the properties associated with it. Each type of
element will have its own set of properties.

The style object is present on all HTML elements and is provided by
most modern, scriptable browsers. It provides access to in-line style
data. That is, CSS applied via a style attribute on that element or
the style object itself.

The rows object is a collection - sort of like an array, but has only
a minimal set of properties and methods. You will find this only on
TABLE and table section (TBODY, THEAD and TFOOT) elements. However,
note that there is a rows property (a simple number, not an object) on
TEXTAREA elements to reflect the rows attribute. A rows property (a
string in this case) also exists on FRAMESET elements to reflect the
rows attribute.
eg document.getElementById(id).Style
document.getElementById(id).Rows.Length
Be careful. ECMAScript (and therefore JavaScript and JScript) is
case-sensitive. The style, rows, and length properties are all lowercase.
What I would really like is to be able to look at an object browser
which shows every property and method associated with the
javascript document object (and all of the other objects too but I
don't want to be greety!).


Mozilla browsers have a built-in object browser that accompanies the
DOM Inspector. To use it, target an object. In the left-hand panel,
there is a drop-down box in the top-left. Select "Javascript Object".

Note that no two browsers will have an identical object model. Even
standardised models will not be implemented in full by all user
agents, and you will also encounter proprietary properties
(particularly on IE).

[snip]

Hope that helps,
Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: ScottyBaby | last post by:
Hi, I've run into a curious problem with MS SQL Server 8.0. Using sp_help and SQL Query Analyzer's object browser to view the columns returned by a view, I find that sp_help is reporting stale...
4
by: Frank Einstein | last post by:
Looking for a tool that can edit an XML file in a browser. The basic requirement is that the XML file is rendered as an HTML form with editable fields (including add/delete, preferably in...
0
by: Wolfgang Schwanke | last post by:
Dear usenet, I'm having the following small problem. I've been ask to add some Quicktime panoramas to a website. The author of the panoramas has made two versions of each: One in MOV format,...
5
by: HchC | last post by:
Not looking for a special or fancy css stylesheet. For a HTML beginner, stylesheet is still far away from now. Not even said thinking about cross browser. But, an XHTML page without stylesheet look...
2
by: Rick D. | last post by:
Hi all, I'm looking for information on running a c# application on a webpage, just like a java-applet. And the second thing i'm looking for is information on how to display 3d graphics with...
26
by: yb | last post by:
Hi, Is there a standard for the global 'window' object in browsers? For example, it supports methods such as setInterval and clearInterval, and several others. I know that w3c standardized...
9
by: Cylix | last post by:
The following example are going to create an object to store the client Information, I would like to new the object to init all the properties by function: setProperty() Can I set the value to...
2
by: R.F.J. de Laat | last post by:
Hi, I'm developing an application that runs on my intranet using PHP and JS. It's goal is quite simple, to convert an internet browser into a media- center. Allowing any device with a...
2
dream party
by: dream party | last post by:
Inserting a Flash (SWF, FLV) file into HTML web page is already an old and familiar thing to all of us. It is a rather non-flexible thing that just to edit some options in the template. However, I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.