Posts

Showing posts from December 6, 2018

prevent user from insert “DATE to” less than “DATE from”

Image
up vote -1 down vote favorite i have two calendars to insert "DATE from" & "DATE to" i want to prevent user from inserting "DATE to" less than or before "DATE from" i used a function before to prevent the user from selecting a DATE before today but i don't know how to use it in this new case <script type="text/javascript"> function checkDate(sender, args) { if (sender._selectedDate <= new Date()) { alert("You cannot select a day earlier than today!"); sender._selectedDate = new Date(new Date().getTime() + 24 * 60 * 60 * 1000); //sender._selectedDate.setDate(today.getDate() + 1); // set the date back to the current date sender._textbox.set_Value(sender._selectedDate.forma...

History of San Marino

Image
History of San Marino From Wikipedia, the free encyclopedia Jump to navigation Jump to search This article needs additional citations for verification . Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (October 2012) (Learn how and when to remove this template message) Part of a series on the Culture of San Marino History People Languages Cuisine Festivals Religion Music and performing arts Music Media Television Sport Monuments World Heritage Sites Symbols Flag Coat of arms San Marino portal v t e As the only surviving medieval microstate in the Italian peninsula, the history of San Marino is intertwined with medieval, renaissance and modern-day history of the Italian peninsula, starting by independence from the Roman Empire on 257 AD (Diocletian kingdom)...