I have a jQuery method (function?) on a checkbox that executes when the checkbox is clicked
click.function() {
// blah blah
}
But now I want the checkbox to be checked by default…how do I make the function run automatically (without waiting for the checkbox to be clicked on?)
1 Answer