The add table row is being added with:
pa href=# onclick=addTableRow('#table-1'); return false;Add
New/a/p
No, your code does not work for me. It's exactly the same as the code
I've been trying since last night, so no offense -- why would it
work? ;)
My problem here is that the id is not
On Mar 24, 2009, at 11:44 AM, rivkadr wrote:
The add table row is being added with:
pa href=# onclick=addTableRow('#table-1'); return false;Add
New/a/p
ok.
No, your code does not work for me. It's exactly the same as the code
I've been trying since last night, so no offense -- why would
Do you have a live example of the code? Karl's stuff works fine for
me, so I suspect it has something to do with other scripts on your
page.
On Mar 24, 12:56 pm, Karl Swedberg k...@englishrules.com wrote:
On Mar 24, 2009, at 11:44 AM, rivkadr wrote:
The add table row is being added with:
A few things:
1. Why do you need return true in the function?
2. 13 is not a valid ID,
3. you should probably be appending the row to a tbody, not the table.
Nevertheless, I just tried your first function and it seemed to work
fine for me:
http://jsbin.com/ideju/edit
Does that work for
I don't know why I need true in the function. I just copied the code
from elsewhere ;) I am NOT a jquery (this is my first time using it)
or JS expert, so am just trying to cobble something together for a
work project, which is due by tomorrow.
I'm using this:
5 matches
Mail list logo