Share
Go down
avatar
Archana
Regular Participant
Regular Participant
Posts : 33
Join date : 2009-08-21

document.getElementsByTagName() not working

on Wed Sep 02, 2009 5:59 pm
Hi,
In my web application,
alert(document.getElementsByTagName('table')[5].rows.length), alert is coming fine with no.of rows of table,
but if I execute,
store | javascript{document.getElementsByTagName('table')[5].rows.length} | size is giving document.getElementsByTagName("table")[5] is undefined error, how can I store no.of rows of a table?
avatar
Advisor
------------------------
------------------------
Posts : 383
Join date : 2009-07-30
Location : India
http://seleniumforum.forumotion.net

Re: document.getElementsByTagName() not working

on Thu Sep 03, 2009 6:09 pm

_________________
Spread Your Knowledge About Selenium Tool.

Administrator
Email: selenium.discussion.thread@live.com
Forum: http://seleniumforum.forumotion.net
diane21
Posts : 1
Join date : 2011-11-12

Secure Document Shredding

on Sat Nov 12, 2011 4:18 pm
All businesses are required by law to store for, specific periods of
time, a range of documents that many would consider to be mundane or
uninteresting, however, If these fell into the wrong hands these
documents could cause serious problems for your business, organisation,
customers, employees or other individuals.
Sponsored content

Re: document.getElementsByTagName() not working

Back to top
Permissions in this forum:
You cannot reply to topics in this forum