Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Different results

Arunas
Posts: 21
Joined: Sat Feb 07, 2015 11:19 pm

Different results

Unread post by Arunas »

Hi.

I have Check Box and its event Onchange. When I check Check Box on IE or Edge I get one result (wrong), when check on Chrome or Mozilla - other (correct). Why?
My Function:
function CheckBox_event() {
if ($('#CheckBox').val() == 0) {
$('#Text1').prop('readonly',true);
$('#Text1').css('background-color','silver');
$('#Text1').val(0).change();
} else {
$('#Text1').prop('readonly',false);
$('#Text1').css('background-color','white');
}
}
Attachments
Chrome.JPG
Chrome.JPG (20.97 KiB) Viewed 1668 times
IE.JPG
IE.JPG (20.2 KiB) Viewed 1668 times
Post Reply