Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript div issues

 
john mattucci
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to show/hide details related to a table row by clickind details button. For some reason the first item is always diplaying the details in div. No matter how many items I include and the function is called however it does show/hide details for the first item.



and in my html I have

<


Thank you for your time
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have invalid HTML. You can not put a div inside a table like that. It has to be in a td.


Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic