I am a beginner in JQ grid. In my JQ grid I have a image in a column added as an anchor tag. Onclick of the particular cell I need to change the image only for that cell. I am adding a class 'clickableTitle' to the column and trying to access the current cell as:
$('.clickableTitle').live('click', function () {
$(this).parents('table:first').getCell($(this).parents('tr:first').attr('id'), 'comment'));
});
This gives me the anchor tag in below format, but I am not able to change its image source at runtime.
<A href="Proj.aspx?PID=795&Store=#Comment"><IMG class=commentIcon src="/_Layouts/images/iconCommentOn.png"></A>
Can you please let me know what would be the best way to achieve this. Thanks!!!