jquery.each dan extend

$.each


1
2
3
$.each([ 52, 97 ], function( index, value ) {
alert( index + ": " + value );
});
This produces two messages:
0: 52 
1: 97





If an object is used as the collection, the callback is passed a key-value pair each time:
1
2
3
4
5
6
7
var obj = {
"flammable": "inflammable",
"duh": "no duh"
};
$.each( obj, function( key, value ) {
alert( key + ": " + value );
});
Once again, this produces two messages:
flammable: inflammable 
duh: no duh




liat url nya

http://api.jquery.com/jquery.each/


======================================================

untuk jquery.extend


liat aja deh url langsungnya y

https://api.jquery.com/jquery.extend/


0 Response to "jquery.each dan extend"

Posting Komentar