Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setAttribute issue

Status
Not open for further replies.

Csanad

Programmer
Jul 25, 2007
23
0
0
US
Hi,

Here's my form:


When I add two or more Dependant Items and remove one that's not the last that I added, I won't be able to remove any more Dependant Items. Say I deleted the first Dependant Item and try to remove the second Dependant Item - it will try to look for the link inactive.html that should never be accessed.

I believe the problem is with reassigning the onclick attribue values. I spent the whole day yesterday on this, but can't figure out what I'm doing wrong.

Any help is greatly appreciated,

Thank you!

Csanád
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top