Checkbox, not checking

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
alex4orly
 
 
Posts: 842
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Checkbox, not checking

Post by alex4orly » Tue Jan 21, 2020 10:11 am

I have a checkbox, on the onclick() I call a javascript function
The function is executed - but the checkbox doesn't show the check

If I remove the call to the function - on click() the box is checked....

Any suggestion?

Thanks

User avatar
Pablo
 
Posts: 19306
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Checkbox, not checking

Post by Pablo » Tue Jan 21, 2020 10:28 am


User avatar
alex4orly
 
 
Posts: 842
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Checkbox, not checking

Post by alex4orly » Tue Jan 21, 2020 11:28 am

As soon as I started reading... I recalled that I had this before.

All good, thanks

User avatar
alex4orly
 
 
Posts: 842
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Checkbox, not checking

Post by alex4orly » Tue Jan 21, 2020 7:39 pm

Hello again,

Upon checking the code itself, in the initial state, the code looks like this:
id="Checkbox1" onclick="isChecked(); return false;"

After I added the 2nd event, it looks like this:
id="Checkbox1" onclick="isChecked(); return true; return false;"

The call to the function, takes the process to another page, but when I click the Back button in the browser and it takes me back to the originating page:
1) The checkbox has still the check in it
2) But, it is only a visual state - it is actually NOT acting as if it is checked...

Is there a way for me to programatically through Javascript, force it to remove the check?

Thanks

User avatar
Pablo
 
Posts: 19306
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Checkbox, not checking

Post by Pablo » Tue Jan 21, 2020 9:16 pm


User avatar
alex4orly
 
 
Posts: 842
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Checkbox, not checking

Post by alex4orly » Wed Jan 22, 2020 4:52 am

Yes, that does the trick...

Cheers

Post Reply