Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes Same code, different tabs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Same code, different tabs" Watch "Same code, different tabs" New topic

Same code, different tabs

Jay Jenkins

Joined: Nov 13, 2012
Posts: 1
The problem is that when using the table in the different tabs it doesnt add the new row in the correct tab. Any suggestions?

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376
ids are SINGULAR. You can have multiple elements with the same id.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60794

Eric Pascarello wrote:ids are SINGULAR. You can have multiple elements with the same id.

I'm sure Eric meant to type that you cannot have multiple elements with the same id.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Same code, different tabs
Similar Threads
access dynamically created textfield with jquery
adding and deleting a row in html
how to delete multiple browse
fixed header, problem with alignment, must support all browsers
Submit popup