Wrox Programmer Forums
|
BOOK: Beginning JavaScript
This is the forum to discuss the Wrox book Beginning JavaScript by Paul Wilton; ISBN: 9780764544057
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 10th, 2004, 03:21 PM
Registered User
 
Join Date: Jun 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to MyCar Send a message via Yahoo to MyCar
Default Why don't people do this?

I found that you can refer to your document objects by ID directly.
Why is this not in common use?

for example:
This is the HTML for the table:
Code:
<table width="100%" id="myTable">
This is what I am talking about:
Code:
var lastrow = myTable.rows.length;
BTW, does anyone know if there are any problems using object.rows?

Michael McCulley

MyCar System, Inc.
www.mycarsystem.com
 
Old June 10th, 2004, 03:25 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,285
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I believe this is an IE only thing, or maybe it only works for elements directly visible on the page.

>>BTW, does anyone know if there are any problems using object.rows?

Never heard of it :D

HTH,

Snib

<><





Similar Threads
Thread Thread Starter Forum Replies Last Post
Loocking for some people. Stormer Intro Programming 0 November 13th, 2006 04:49 PM
I need some help from you people vbpratap VB How-To 2 March 3rd, 2006 08:18 PM
Please Help Me Dear People. InsouciantCoquette Classic ASP Databases 10 January 24th, 2006 11:06 PM
How many People are using this as a base Mykre BOOK: ASP.NET Website Programming Problem-Design-Solution 3 October 17th, 2004 04:09 AM
Planoie and People Help ! augustine General .NET 7 August 1st, 2004 09:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.