hi!
i have a table..which consists of a upload and browse buttons and some place to display an image.if i browse a file(jpg,gif) and upload,it should appear in place of image in that table itself.my code is
[CODE=html]<form method="POST" ENCTYPE="multip art/form-data" ACTION="abc.Act ion">
<table cellpadding=0 cellspacing=0 border=0 style='top:40px ;left:0px;posit ion:absolute;z-index:0;' width=130px >
<TR>
<TD vAlign=top width=8 bgColor=white>< IMG src="../../images/a.gif"></TD>
<TD background="../../images/b.gif" ></TD>
<TD vAlign=top align=right width=20 bgColor=white>< IMG src="../../images/patreg/c.gif"></TD>
</TR>
<TR >
<TD background="../../images/d.gif" nowrap></TD>
<TD bgcolor=#dbeaf5 >
<table height=250px><t r><td valign=top>
<img src="../../g.gif" style="height:1 00px;width:100p x;" > </td></tr>
<tr><td valign=bottom>< input type="file" name="file" id="uploadme" size=1 />
<input type="button" value="UpLoad" onclick='javasc ript:UploadFile ();'class=Butto nStyles align=bottom></td></tr>
</table>
</td>
<TD background="../../images/e.gif" ></TD>
</tr><tr>
<TD vAlign=bottom width=8 bgColor=white>< IMG src="../../images/f.gif"></TD>
<TD background="../../images/g.gif" ></TD>
vAlign=bottom align=right width=20 bgColor=white>< IMG src="../../images/h.gif"></TD>
</TR>
</TBODY>
</table>
wht should i write in the uploadFile() function???
i have a table..which consists of a upload and browse buttons and some place to display an image.if i browse a file(jpg,gif) and upload,it should appear in place of image in that table itself.my code is
[CODE=html]<form method="POST" ENCTYPE="multip art/form-data" ACTION="abc.Act ion">
<table cellpadding=0 cellspacing=0 border=0 style='top:40px ;left:0px;posit ion:absolute;z-index:0;' width=130px >
<TR>
<TD vAlign=top width=8 bgColor=white>< IMG src="../../images/a.gif"></TD>
<TD background="../../images/b.gif" ></TD>
<TD vAlign=top align=right width=20 bgColor=white>< IMG src="../../images/patreg/c.gif"></TD>
</TR>
<TR >
<TD background="../../images/d.gif" nowrap></TD>
<TD bgcolor=#dbeaf5 >
<table height=250px><t r><td valign=top>
<img src="../../g.gif" style="height:1 00px;width:100p x;" > </td></tr>
<tr><td valign=bottom>< input type="file" name="file" id="uploadme" size=1 />
<input type="button" value="UpLoad" onclick='javasc ript:UploadFile ();'class=Butto nStyles align=bottom></td></tr>
</table>
</td>
<TD background="../../images/e.gif" ></TD>
</tr><tr>
<TD vAlign=bottom width=8 bgColor=white>< IMG src="../../images/f.gif"></TD>
<TD background="../../images/g.gif" ></TD>
vAlign=bottom align=right width=20 bgColor=white>< IMG src="../../images/h.gif"></TD>
</TR>
</TBODY>
</table>
Code:
<form method="POST" ENCTYPE="multipart/form-data" ACTION="abc.Action">
Comment