Jeditable image placeholder
Could someone help me see what's wrong with my code. I'm trying to apply Jeditable to a table cell, with an image as placeholder and the problem is that the image html code gets shoved inside the text field when I click to edit.
I've attached two png images to illustrate the problem.
jQuery code:
- $('.editBet').editable('edit_bet.php', {
placeholder: '<img src="grafik/file_edit.png" alt="Klicka för att redigera" />'
});
HTML-code:
<td class="editBet"></td>