+ Start a Discussion
lalitaroralalitarora 

ActionSupport behaving weird with <apex:input type=date>

Here, onchange event supposed to be hit when I change the date value and loose focus from the field. But, actionsupport is firing even if i change any of the value mm,dd or yyyy without loosing the focus. Means if I need to change dd, mm and yyyy all 3 manually without using calender datepicker, this action support will fire 3 times. 

I tried using 'onblur' that working fine but it fires actionsupport even when value is not change which I dont want. Any help appreciated!

 <apex:input type="date" value="{!sdr.ProposedStartDate}" style="width:120px">
                 <apex:actionSupport event="onchange" action="{!SaveSSA}" rerender="MainTable,TotalProposedGP,TotalProposedNP,TotalLaspedSF,GrandTotal,MainForm"  oncomplete="searchable();" status="statusSaveTrip"/>
                </apex:input>