This is my sample at it's basic, what I'd like to do using javascript
is to add a picture into a table cell. I.e. the table cell acting as a
container for the picture when a button is clicked.
Can anyone help me with this please?
Code:<HTML> <HEAD> <SCRIPT Language=javascript> function buttonclicked() { } </script> </HEAD> <BODY> <IMG id=img1 Style="Position:Absolute" Src="1.bmp"> <BR><BR><BR> <TABLE id=tbl1 border=1> <TR id=Row1> <TD width=100px height=100px id=Cell1> </TR> </TABLE> <BR><BR><BR> <INPUT Type=button onclick=buttonclicked() value="click here!"> </BODY> </HTML>




Reply With Quote