| Author |
Delete a dynamically added row from table
|
Pradeep Adibatla
Ranch Hand
Joined: Oct 27, 2009
Posts: 336
|
|
I have 3 different functions to remove a row(dynaically added) from a table.
I have a delete button which is suppose to delete the row.I select a row and say delete and onClick I call a function
These are the three functions viz...
Should there be any changes?
The first 2 are from internet,3rd one is mine!
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
deleteRow(this);
Eric
|
 |
Pradeep Adibatla
Ranch Hand
Joined: Oct 27, 2009
Posts: 336
|
|
Eric,I have tried that but somehow it's not deleting !!! what else could be in reckoning for change?
whew,it's not entering the onclick function!
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
Wowzers, I did not see this line this morning
document.all('vocab').
NEVER NEVER NEVER use document.all
If it is not getting into the onclick, are you in your loop? Also look at your deleteRows function and how you are calling it. You will see they do not mesh.
Eric
|
 |
Pradeep Adibatla
Ranch Hand
Joined: Oct 27, 2009
Posts: 336
|
|
|
Which function is looking stable? The loop I was referring to was for function3.yeah, the calling and rest is fine...no idea where the change is...
|
 |
 |
|
|
subject: Delete a dynamically added row from table
|
|
|