HTML Form with input type 'Image' not responding to click -


in 1 of cells in table, have image. idea when user clicks on image, php script supposed run. image displays (as else), there no response click event.

<td id="btn_delete"     <form action="delete_item.php">         <input type="image" src="images/delete.png">     </form> </td>"  

i'm thinking maybe there no onclick event here??? read documentation, seems there is. doing wrong or there using image in form won't allow click event? if so, how can accomplish this?

thanks!

one issue see missing right arrow on first td:

<td id="btn_delete" 

should be:

<td id="btn_delete"> 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -