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 wrote:
> On Mar 24, 2009, at 11:44 AM, rivkadr wrote:
>
>
>
> > The add table row is being added with:
>
> > Add
> > New
On Mar 24, 2009, at 11:44 AM, rivkadr wrote:
The add table row is being added with:
Add
New
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 it
work? ;)
umm. because it worked fine for me, as I alread
The add table row is being added with:
Add
New
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 changing -- if you read what I
wrote, I mentioned that I can see i
Hi again,
I don't see where you're actually calling the addTableRow function.
Also, did you look at the demo I put together for you? Did that one
work for you? Sometimes it helps to start simple and build up in order
to see where the problem is occurring. Which browser are you testing
in?
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: http://www.isocra.com/2008/02/table-
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
6 matches
Mail list logo