I need to call an apex action inside HTML. I had completed my UI design in Visualforce page with the help of HTML, now i need to call my action from controller (Custom).
I am not sure how to insert the apex action inside HTML. I couldn't find any blog or solution for the same.
Please find the sample code below, I need to achieve the same.
<div class="WholeBoxSmallDiv" id="NewSmallDiv" style="display:none">
<table cellpadding="5" cellspacing="0" width="100%" border="0">
<tr>
<td width="5%"><img src="{!URLFOR($Resource.offerIMG)}"/></td>
<td class="classBold">Search Offer</td>
<apex:actionSupport event="onclick" action="{!searchList}" rerender="formId">
<apex:param name="objType" assignTo="{!strObjectType}" value="Case"/>
</apex:actionsupport>
</tr>
</table>
But the code is not working.
Please let me know if anyone else have achieved the same.