Forums

  • # February 25, 2013 at 8:42 am

    I have a checkbox that when checked should toggle checkboxes in a form below.

    The function works perfectly on first iteration, however any time after that the checkboxes in the form are not checked.

    I’ve included a simplified version of my code in the CodePen below

    http://codepen.io/anon/pen/hldDI

    # February 25, 2013 at 9:14 am

    Solved, simply replace the attr function with prop and it will work as expected.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag