Contoh script Jquery Random kata :
$(document).ready(function() {
var kata = new Array("buku", "kantong", "dompet", "pensil"),
randno = kata[Math.floor( Math.random() * kata.length )];
$('.quote').text( randno );
});
Smoga bermanfaat..Tips dan trik Alfanetcell tentang pemograman php, javascript, html, jquery, json, elektro digital dan lain-lain.
$(document).ready(function() {
var kata = new Array("buku", "kantong", "dompet", "pensil"),
randno = kata[Math.floor( Math.random() * kata.length )];
$('.quote').text( randno );
});
Smoga bermanfaat..
ConversionConversion EmoticonEmoticon