anonīms Posted February 15, 2008 Report Share Posted February 15, 2008 (edited) Ir kods: <input type="submit" name="ielogoties" value="Ieiet"> Kā izveidot, lai uzspiežot uz noteiktas bildes notiktu šī pati funkcija? Laikam dabuju <input type="image" src="..." name="Submit" value="Submit" /> Tikai kā izveidot, lai nav redzams, ka bilde ir iekšs input? Edited February 15, 2008 by anonīms Link to comment Share on other sites More sharing options...
Vebers Posted February 15, 2008 Report Share Posted February 15, 2008 <form id="Forma" action="" method="post"> <img src="path/to/image" alt="image" onclick="document.getElementById('Forma').submit()" /> </form> Link to comment Share on other sites More sharing options...
marcis Posted February 15, 2008 Report Share Posted February 15, 2008 <form action="..." method="..."> <input type="submit" value=" " style="background:url(...);width:...;height:...;" /> </form> Link to comment Share on other sites More sharing options...
Recommended Posts