How can I use Object Oriented Javascript to interact with HTML Objects

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-12-27T20:08:46Z Indexed on 2010/12/27 21:54 UTC
Read the original article Hit count: 204

Filed under:
|
|
|
|

I am very new to object orientated javascript, with experience writing gui's in python and java. I am trying to create html tables that I can place in locations throughout a webpage. Each html table would have two css layouts that control if it is selected or not. I can write all of the interaction if I only have one table. It gets confusing when I have multiple tables. I am wondering how to place these tables throughout a blank webpage and then access the tables individually. I think I am having trouble understanding how inheritance and hierarchy works in javascript/html.

NOTE: I am not asking how to make a table. I am trying to dynamically create multiple tables and place them throughout a webpage. Then access their css independently and change it (move them to different locations or change the way the look, independently of the other tables).

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html