Cov txheej txheem:

Kuv yuav siv Datepicker li cas?
Kuv yuav siv Datepicker li cas?

Video: Kuv yuav siv Datepicker li cas?

Video: Kuv yuav siv Datepicker li cas?
Video: ວິທີເປີດບ່ອນມອງເຫັນການຕິດຕາມ Follow ຢູ່ Facebook 2024, Kaum ib hlis
Anonim

Cov datepicker yog khi rau ib tug qauv daim ntawv input teb. Tsom ntsoov rau cov tswv yim (nias, lossis siv tus yuam sij tab) qhib ib daim ntawv qhia hnub sib tham hauv ib qho me me. Xaiv ib hnub, nyem rau lwm qhov ntawm nplooj ntawv (blur the input), lossis ntaus Esc tus yuam sij kaw. Yog tias ib hnub raug xaiv, cov lus tawm tswv yim yuav pom raws li qhov kev nkag siab tus nqi.

Ua li no, kuv yuav ntxiv Datepicker li cas?

Muab hnub tim tam sim no nyob rau hauv ib tug xaiv hnub

  1. Ntxig ib lub hnub xaiv rau ntawm daim ntawv template.
  2. Muab ob npaug rau-nias lub hnub xaiv uas koj tso rau ntawm daim ntawv template.
  3. Nyem qhov Data tab.
  4. Nyob rau hauv Default Value, nyem Insert Formula.
  5. Hauv Insert Formula dialog box, nyem Insert Function.

Tsis tas li ntawd, kuv yuav hloov Datepicker hom ntawv li cas? Los ntawm lub neej ntawd, hnub tim hom ntawv ntawm jQuery UI Datepicker yog US hom ntawv mm / dd / yy, tab sis peb tuaj yeem teeb nws rau qhov kev cai tso saib hom ntawv , xws li: rau hnub European dd-mm-yyyy thiab lwm yam. Kev daws yog siv cov hnub xaiv dateFormat kev xaiv…thiab siv cov cai hauv qab no rau hloov tus hom ntawv nrog rau qhov kev xaiv dateFormat.

Ib yam li ntawd, nws tau nug, puas yog bootstrap muaj Datepicker?

Bootstrap - datepicker muab ib tug saj zawg zog datepicker widget nyob rau hauv Bootstrap style. Versions yog incremented raws li semver.

Kuv yuav lov tes taw Datepicker li cas?

Zoo Koj tuaj yeem tshem tawm datepicker los ntawm tsuas yog tshem tawm chav kawm hasDatepicker los ntawm cov tswv yim. Koj tuaj yeem siv qhov chaws no los hloov neeg tsis taus nrog jQuery Datepicker thiab nrog rau lwm daim ntawv tseem ceeb.

Pom zoo: