html - when change input type=radio to input type=image not work -
good day, i'm trying replace code
<input type=radio name="y" value="1" onclick="this.form.submit()">work <input type=radio name="n" value="1" onclick="this.form.submit()">broken
with code
<input type=image name="y" value="1" onclick="this.form.submit()"><img src="/ar/serials/images/work.png"> <input type=image name="n" value="1" onclick="this.form.submit()"><img src="/ar/serials/images/broken.png">
but submit doesn't work (no thing happen when click images)
you can add src attribute directly input tag.
example:
<input type=image name="y" value="1" onclick="this.form.submit()" src="/ar/serials/images/work.png"/>
Comments
Post a Comment