formos+php

formos+php

kaip vietoj mygtuko "padaryti" kad butu koks paveikslelis. Na vietoj tarkim standartinio mygtuko "Submit" galeciau nusipiesti savo koki uzrasa ar image?

Nesu patyres, bet kiek zinau cia be Javos neishsiversi Nekaltas, kad ir paziurekime kaip tai padaryta cia( vieta kur as rasau atsakyma ir apacioje yra migtukas ishsaugoti ):
<SCRIPT LANGUAGE=&quot;JavaScript&quot; TYPE=&quot;text/javascript&quot;>
<!–
var s=0+1*‘0’;
if (s>=0 && s<20){document.post_edit.SMILE[s].checked=true;}
//–>
</SCRIPT>
&#222;inut&#235;s tekstas:<br>
<textarea cols=&quot;65&quot; rows=&quot;12&quot; name=&quot;BODY&quot; style=&quot;width:100%&quot; ></textarea>
<input type=&quot;hidden&quot; name=&quot;event&quot; value=&quot;2forum.submitPost&quot;>
<input type=&quot;hidden&quot; name=&quot;ID&quot; value=&quot;-1&quot;><input type=&quot;hidden&quot; name=&quot;club_id&quot; value=&quot;461&quot;><input type=&quot;hidden&quot; name=&quot;forum_id&quot; value=&quot;224&quot;>
<table width=&quot;100%&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;><tr>
<td width=&quot;90&quot;><input type=&quot;image&quot; src=&quot;i/n_issaugoti.png&quot; onclick=&quot;javascript: this.style.visibility=‘hidden’; return true;&quot;></td>
<td class=&quot;ja&quot;>
<input type=&quot;checkbox&quot; name=&quot;subscribe&quot; value=&quot;1&quot;><b>Temos prenumerata</b> - informuoti mane apie atsakymus &#225; &#240;i&#224; tem&#224;&nbsp;
<select name=&quot;media&quot; class=&quot;ja&quot;>
<option value=&quot;E&quot; SELECTED>el. pa&#240;tu</option>
<option value=&quot;P&quot;>priva&#232;ia &#254;inute</option>
<option value=&quot;S&quot;>SMS &#254;inute</option>
</select>
</td></tr></table>
</td><
/tr>
</form>
</table>