Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hardest JavaScript Problem in the world so far

 
YuenLian Wu
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have a HTML table that has add and delete button to add or delete the rows dynamically. Normally, one of the combo box event will trigger another combo box to it. However, when multiple rows exerted, the combo box in the other rows will always trigger the combo box in the first row, not it's own row. I beleive it's my bug, however, I don't know how to fix it. My function is provided in the following:







Thanks for helping me

Transistor

[ December 17, 2006: Message edited by: YuenLian Wu ]
[ December 17, 2006: Message edited by: YuenLian Wu ]
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you look at your code, it looks like you are referencing that second list with the hardcoded ID value.

Eric
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
YuenLian , please put more effort into making the topic of your posts describe the nature of your problem. It will help you get more replies, and it is more polite to others.

If you want to have a look at our pointers on getting questions answered, have a look at the "Getting questions answered ion the Ranch" link in my signature.

thanks!
Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic