aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Hardest JavaScript Problem in the world so far Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Hardest JavaScript Problem in the world so far" Watch "Hardest JavaScript Problem in the world so far" New topic
Author

Hardest JavaScript Problem in the world so far

YuenLian Wu
Ranch Hand

Joined: Nov 16, 2005
Posts: 73
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
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

Joined: Mar 06, 2001
Posts: 13459

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hardest JavaScript Problem in the world so far