This is a list of advanced JavaScript learning resources from people who responded to this [Tweet][13] and this [Tweet][20].
-
[You Don't Know JS][3]
-
[Frontend Masters courses by Kyle Simpson][12]
-
[@mpjme][6]'s [YouTube videos][5]
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
<?php | |
/** | |
* Plugin Name: AWD Weight/State Shipping | |
* Plugin URI: http://www.andyswebdesign.ie/blog/free-woocommerce-weight-and-country-based-shipping-extension-plugin/ | |
* Description: Weight and State based shipping method for Woocommerce. | |
* Version: 1.0.1 | |
* Author: Andy_P (modified by Mantish to make it state based) | |
*/ | |
/** Copyright 2012 andyswebdesign.ie |
jQuery(document).ready(function($) { | |
$('input#choice_13_1').click(function() { | |
if($(this).is(':checked')) { | |
$('#input_2_12_1').val($('#input_2_2_1').val()); | |
$('#input_2_12_2').val($('#input_2_2_2').val()); | |
$('#input_2_12_3').val($('#input_2_2_3').val()); | |
$('#input_2_12_4').val($('#input_2_2_4').val()); | |
$('#input_2_12_5').val($('#input_2_2_5').val()); | |
}; | |
}); |