Hide or show fields using ON-CLICK event with a label field (image of button)

I’m trying to use a form (editable grid view) adding 2 label fields with text like this <img src=’…/_lib/img/scriptcase__NM__ico__NM__arrow_down_red_32.png’ &gt; in order to see images.
After that I’m wondering if it’s possible to add an Ajax event ON-CLICK but it seems not.possible… in order to show or hide fields of form.
See image
Is there any simple workaround available ?


You can write some javascript/jquery to hide the fields. create a event in javascript then hide using .hide(); in jquery.

something like this
<script type=“text/javascript”> $(document).ready(function() { $(’#your_field_or_row_id ').click(function() { $("#field to hide id").hide();// you can use .remove just play about with it }); }); </script>

Hi Scotty, thank for hint . I will try to apply it. Bye