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

  • Home
  • SEARCH
  • 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 9085625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:17:25+00:00 2026-06-16T21:17:25+00:00

I am using this plugin to give checkboxes and iOS look and feel: http://ios-checkboxes.awardwinningfjords.com/

  • 0

I am using this plugin to give checkboxes and iOS look and feel:
http://ios-checkboxes.awardwinningfjords.com/

Apparently, it doesn’t touch the hidden checkbox input value when I use Chrome or Firefox DOM inspector. It always remains the same although it works perfectly after submiting the form detecting the defined state. (I don’t know how it does it…)

Currently I am using some input selects and depending on the value (yes or no) it shows another element:

Html:

<select name="announcement" id="announcement">
    <option value="0">No</option> 
    <option value="1">Yes</option>
</select>

jQuery change detection:

$('#announcement').change(function(){
    if($(this).val() == 0 ){
        $('#listOfCompanies').show();
    }else{
        $('#listOfCompanies').hide();
    }
});

Now, i converted the first select into a checkbox like this:

<input type="checkbox" name="announcement" value="1" id="announcement">

Is there any way I could detect the checkbox value when I use iOS plugin?

$('#announcement').change(function(){ doesn’t work as the checkbox value doesn’t change anymore in the DOM element.

  • 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-16T21:17:28+00:00Added an answer on June 16, 2026 at 9:17 pm

    If you look at the jquery-demo html that comes with the download, it shows an example of how to bind the onchange event handler.

    $('#announcement').iphoneStyle({
        onChange: function(elem, value) { 
          // not sure what comes up as the arguments passed in.. but to find out you can do console.log(arguments)
          $('#listOfCompanies').toggle(!value);
        }
    });
    

    EDIT:

    Try passing your checked/unchecked label options at the same time

    $('#announcement').iphoneStyle({
        checkedLabel: 'your checked label',
        uncheckedLabel: 'your unchecked label',
        onChange: function(elem, value) { 
          // not sure what comes up as the arguments passed in.. but to find out you can do console.log(arguments)
          $('#listOfCompanies').toggle(!value);
        }
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this jquery plugin to make my select dropdown boxes look nicer. http://code.google.com/p/select-box/
I'm using this plugin for jquery called resize-crop: http://code.google.com/p/resize-crop/ The problem with this is
I am using this plugin for my new site: http://colorpowered.com/colorbox/ The page in concern
I made an image slider using this plugin http://slidesjs.com/ while ago for a mobile
I'm using this great plugin: http://www.sanisoft.com/blog/2009/06/22/jquery-auto-correct-plugin/ But it's not working with 1.6.2 or greater...
I'm using this JQuery autocomplete plugin http://www.devbridge.com/projects/autocomplete/jquery/ in my project. I followed this tutorial
I'm using this plugin: http://jqueryui.com/demos/autocomplete/#remote Works great but I would like to use the
I'm using this plugin and here is the code: http://jsfiddle.net/gm8t5/ Basically I want to
I'm using this plugin: http://www.jeremymartin.name/projects.php?project=kwicks And my code follows this example: http://www.jeremymartin.name/examples/kwicks.php?example=7 I'm using
I am using this new jQuery plugin called jsTree www.jstree.com and using the HTML

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.