Hi,
I am using HTML,Javascript . I m trying to specify source path for a dynamically created element.But its not displaying the image.Please help me.
I m using the following code:
[CODE=javascript]var row1td7=documen t.createElement ('TD');
var row1td7btn=docu ment.createElem ent('input');
row1td7btn.setA ttribute('type' ,'image','id',' Del'+i);
row1td7btn.src= "test image\del.jpeg" ;
row1.appendChil d(row1td7);
tbody.appendChi ld(row1);
[/CODE]
I m using the above code to insert a button with image in a dynamically created table.
Thanks
daitasri
I am using HTML,Javascript . I m trying to specify source path for a dynamically created element.But its not displaying the image.Please help me.
I m using the following code:
[CODE=javascript]var row1td7=documen t.createElement ('TD');
var row1td7btn=docu ment.createElem ent('input');
row1td7btn.setA ttribute('type' ,'image','id',' Del'+i);
row1td7btn.src= "test image\del.jpeg" ;
row1.appendChil d(row1td7);
tbody.appendChi ld(row1);
[/CODE]
I m using the above code to insert a button with image in a dynamically created table.
Thanks
daitasri
Comment