You need to sign in to do that
Don't have an account?
Actiosupport don't run ajax in IE
<apex:actionRegion > <apex:outputPanel id="oP" ondblclick="cambioDetalle(this.id, 'input')" > <apex:inputText value="{!sub.detalle}" style="display:none" id="iDetalle" /> <apex:actionSupport event="onchange" rerender="oP" /> <apex:outputText value="{!sub.detalle}" style="display:block" id="tDetalle" /> <script> eval("tDetallesT['{!$Component.oP}'] = document.getElementById('{!$Component.tDetalle}')"); eval("tDetallesI['{!$Component.oP}'] = document.getElementById('{!$Component.iDetalle}')"); </script> </apex:outputPanel> </apex:actionRegion>
The actionsupport is runing ok in firefox and opera but don't run in IE. It is like IE don't fire the event, why? Some Idea?
Thanks for all
All Answers
Is there a typo in the code above? The way you have it, it *looks* like the actionSupport is a direct child of the outputPanel. That outputPanel is going to render as a <span>, and there's no official onchange handler for <span>:
http://www.java2s.com/Code/HTMLCSSReference/HTML-Tag-Reference/spanEventHandlers.htm
It looks like this is intended to be a child of the input text? But right now, the inputText self-closes.
OK, I understood it.
Thanks for all.