Pogledajte određenu poruku
Staro 27. 05. 2015.   #3
stanke
član
Certified
 
Datum učlanjenja: 06.09.2012
Poruke: 64
Hvala: 0
337 "Hvala" u 10 poruka
stanke is on a distinguished roadstanke is on a distinguished roadstanke is on a distinguished roadstanke is on a distinguished road
Default

Resio sam ako nekome treba evo koda


<!doctype html>
<html >
<head>
<meta charset="utf-8">
<title>Date Picker</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">


<script src="http://code.jquery.com/jquery-1.10.2.js"></script>
<script src="http://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src="datepicker-ar.js"></script>
<script src="datepicker-fr.js"></script>
<script src="datepicker-he.js"></script>
<script src="datepicker-zh-TW.js"></script>
<script src="datepicker-sr-SR.js"></script>
<script>
$(function() {
$('#datepicker').datepicker($.datepicker.regional['fr']);
$('#locale').change(function() {
$('#datepicker').datepicker('option',$.datepicker. regional[$(this).val()]);
});
});
</script>
</head>
<body>
<p>
Date: <input type="text" id="datepicker">
<select id="locale">
<option value="ar">Arabic (‫(العربية</option>
<option value="zh-TW">Chinese Traditional (繁體中文)</option>
<option value="en">English</option>
<option value="fr" selected="selected">French (Fran&ccedil;ais)</option>
<option value="he">Hebrew (‫(עברית</option>
<option value="sr-SR">Srpski</option>
</select>
</p>
<ul>
<li><a href="#" id="ar">Ar</a>||</li>
<li><a href="#" id="zh-TW">Ch</a>||</li>
<li><a href="#" id="en">En</a>||</li>
<li><a href="#" id="fr">Fr</a>||</li>
<li><a href="#" id="he">He</a>||</li>
<li><a href="#" id="sr-SR">Sr</a></li>
</ul>
<input type="text" id="dt">
<script>
$(function() {
$('#dt').datepicker($.datepicker.regional['fr']);
$('ul li a').click(function(){
$('#dt').datepicker('option',$.datepicker.regional[this.id]);
return false;
});
});
</script>
</body>
</html>
stanke je offline   Odgovorite uz citat
112 članova zahvaljuje stanke za poruku:
aarkmanalfr, aczapiewskshain, aennimancarm, aeprocaccnath, aionscalzconc, aliznaroma, allen4jim, alovermannmiche, anorthfacemens, aparkagoose, apelmanhora, ardgraafwilfo, areraodel, aringascarl, arussianbran, asakamakimarc, celebritybrautk, cellocchiwino, ceszucheldr, cfacecheap, cfakecoach, cheapestcheapes, christianchrist, cmmecare, ctarrickdied, dorflesnersalva, dtepfundtvicen, eangeruth, ebuyaccessories, eeblinetyron, ejerseynfl, emergelhous, eosuitergilb, eoulterjord, ershauerbric, esbardneymarku, eskuhlemarco, etolefreemiles, fhrentfrokhad, garkingtarah, giohoergeroctav, hlaschalbe, iaidimarc, ichristianheels, ijoachimteod, imandarinoveola, ioltmeierlynd, ionpanfilprest, irdfinninwinfo, istriblingmoshe, iyuriciclave, jnayjaso, jsenajelia, kbierskiaria, kdlakrick, kelambkaruth, khackduan, ksaajokuthere, ktrackeisid, larholburt, lerolees, meistmaikl, mjanemiles, mnachambevict, nesimankricki, nincenorah, nnaellanknatha, nnvalentasun, nramanyjule, nsveentreva, nydencesa, obertoerro, ocintoyongs, oegwoodsydn, oiezarconepearl, osjoem, ottleroehugo, pcheapface, pdekenipproger, piehlphilr, prdpala, rdemarckris, rdheminovemayna, redmonstonwarne, renmorebufo, reppsreysh, riggeralen, rkunaroyal, rlamryan, rochnersungb, ronicodemumilag, rruppenthatanne, rwoyerleon, sceeashcons, semerssonn, sholesarie, skocsismoshe, soatsomm, sosephsenbust, stensmaik, tarnetcalv, tinregestevalen, tolyottjero, tscristedema, twaratmarc, uolyneuxmarc, uoshimurajuli, waskiewichowa, yaircorytiffany, yleraymard, yntyno, ytelajoyetonet