Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7727749
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:32:21+00:00 2026-06-01T05:32:21+00:00

I am using mootools & moocheck javascript libraries for custom checkboxes and radiobuttons. <script

  • 0

I am using mootools & moocheck javascript libraries for custom checkboxes and radiobuttons.

<script type="text/javascript" src="<%= Url.Content("~/Scripts/jquery-1.4.2.min.js") %>"></script>  
<script type="text/javascript" src="<%= Url.Content("~/Scripts/mootools.js") %>"></script>
<script type="text/javascript" src="<%= Url.Content("~/Scripts/moocheck.js") %>"></script>

This works fine and shows the custom checkbox styles proplery. But if I set the checkbox to checked programatically using jQuery it dosen’t update the checkbox style.

   jQuery(document).ready(function () {
        FancyForm.start();

        jQuery('#changeIt').click(function () {
            jQuery('#checkthis').attr('checked', true);
            jQuery('#checkthis').attr('checked', 'checked');                
        });

    });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:32:23+00:00Added an answer on June 1, 2026 at 5:32 am

    Added following method to moocheck.js for updating specific checkbox or radiobutton

    updateSpecific: function (ctrlId, isChecked) {
        FancyForm.chks.each(function (chk) {
            if (chk.inputElement.getProperty('id') == ctrlId) {
                chk.inputElement.setProperty('checked', isChecked);               
            }
        });
    }
    

    And modified the client code like following…

       jQuery(document).ready(function () {
            FancyForm.start();
    
            jQuery('#changeIt').click(function () {
                FancyForm.updateSpecific('checkthis', true);
            });
        });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a accordion-type content section using mootools. Here's the HTML I'm working with:
I'm loading html content via ajax onto a div (using mootools 1.11 and squeezebox,
I've been using various javascript frameworks including mootools, jquery, prototype and scriptaculous and have
Hi I have been using Rokstories, a mootools javascript slideshow in Joomla, I am
I made a script (using mootools library) that is supposed to overlay an image
I am currently having difficulty using the Google weather API in JavaScript using Mootools.
I've got a script using mootools 1.1 to handle an Ajax form that has
My script is throwing an error only in IE8. I'm using Mootools 1.3. The
I'm using mootools to create a scrollbar for content example code can be seen
I'm changing my background-image css property using Mootools: $(document.body).setStyle('background-image','url(' + pBackground + ')'); And

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.