<input type="checkbox" class="checkbox" name="id1"/> 1
<input type="checkbox" class="checkbox" name="id2"/> 2
<input type="checkbox" class="checkbox" name="id3"/> 3
$('.checkbox').change(function(){
var data = [];
$('.checkbox').each(function(){
if( $(this).is(':checked') ){
data.push( $(this).attr('name'));
}
});
console.log(data);
});
"autoload": {
"psr-4": {
"Application\\": "module/Application/src/",
"Vendor\\Namespace\\": ""
},
"psr-0": {
"Monolog": "src/",
"Vendor\\Namespace": ["src/", "lib/"],
"Pear_Style": "src/",
"": "src/"
},
"classmap": ["src/", "lib/", "Something.php"],
"files": ["src/MyLibrary/functions.php"]
},
"config": {
"optimize-autoloader": true
},
$ php composer.phar dump-autoload --optimize
cache (default: true, false for dataType 'script' and 'jsonp')
Type: Boolean
If set to false, it will force requested pages not to be cached by the browser. Note: Setting cache to false will only work correctly with HEAD and GET requests. It works by appending "_={timestamp}" to the GET parameters. The parameter is not needed for other types of requests, except in IE8 when a POST is made to a URL that has already been requested by a GET.