Checkbox, not checking

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/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: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Checkbox, not checking

Post by alex4orly »

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: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Checkbox, not checking

Post by Pablo »

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

Re: Checkbox, not checking

Post by alex4orly »

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

All good, thanks
User avatar
alex4orly
 
 
Posts: 632
Joined: Mon Jan 20, 2014 8:17 am
Location: Australia
Contact:

Re: Checkbox, not checking

Post by alex4orly »

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: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Checkbox, not checking

Post by Pablo »

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

Re: Checkbox, not checking

Post by alex4orly »

Yes, that does the trick...

Cheers
Post Reply