Reputation:
First of all, I am new to javascript.
I took a code for table resizing and its working fine for TH tag, but i want it on TD tag. I tried for a couple of hours and i can't figure it out
Here is the link
plnkr.co/edit/mYRdNuhuofYIERvA9wOI?p=preview
Here, ob = getNodeName(ob, "TH");
i changed it into TD
but its still not working.
So, i want the resize function in td tag instead of th tag.
Thanks for your help
Upvotes: 0
Views: 48
Reputation: 387
Use this...
give name to your td and write script
var tdname = document.getElementByTagName('tdname');
Upvotes: 2