You need to sign in to do that
Don't have an account?
calling an apex:actionFuction doesn't works from Firefox
Hi to all.
I have been searching that problem in internet but I haven't got it.
I have a VF page with a commandButton, and when it is clicked I need to disable that button and send the form. It works fine with IE and Chrome , but it's not working with Firefox.
Here is my code:
<apex:form >
<apex:actionFunction name="enviarFormulario" action="{!OK}"/>
<apex:commandButton value="Confirmar" id="confirmar" onclick="buttonsEnabled(false); enviarFormulario();" disabled="{!if(errorTimeout,true,false)}"/>
and here are the javascripts
function buttonsEnabled(enable) {
var $buttons = jQuery('.btn[id$="confirmar"]'); // find all buttons in the page
if (enable === false) {
$buttons.toggleClass('btnDisabled', true).attr('disabled', 'disabled');
} else {
$buttons.toggleClass('btnDisabled', false).attr('disabled', null);
}
}
Any advice with it?
Thanks in advance
Hello,
Please check if the FF has any add-ons, try testing without add-ons.