I just want to add a textbox in table at runtime using javascript. Anybody know...?
thanks.
I just want to add a textbox in table at runtime using javascript. Anybody know...?
thanks.
This will insert a textarea to the first td of the first tr of the first table on a page (using jQuery). But i guess it will send you on the right way
$('table:first tr:first td:first').append('<textarea>my text</textarea>');
Hope this source code will guide you through the point which you are looking for !
tableWidget = new YK.TableFactory(3,5,false, false);
textbox = new YK.Entry();
tableWidget.attach(
textbox,
0, 1, 0, 1,
{align: YK.JUSTIFY_LEFT, fill: true},
{align: YK.JUSTIFY_TOP, fill: true},
1, 1
);