JavaScript:
<script type="text/javascript">
NxirrThenjeteRastesishme = function () {
var thenie = new Array();
thenie[0] = "Më mirë i mençur e fatkeq sesa budalla e fatlum.";
thenie[1] = "Budallai e gjen përherë një admirues më budalla se veten.";
thenie[2] = "Arsimi duket i rëndësishëm sa s'kemi hasur akoma në budallenj të arsimuar.";
thenie[3] = "Njeriu me vlera ndihet në siklet kur vlerësohet nga budallenjtë.";
var rand = Math.floor(Math.random()*thenie.length);
document.write(thenie[rand]);
}
NxirrThenjeteRastesishme();
</script>
Pjesa Body:
HTML:
<script type="text/javascript">NxirrThenjeteRastesishme();</script>