<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Jquery_date_picker</id>
	<title>Jquery date picker - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deltanine.net/mw/index.php?action=history&amp;feed=atom&amp;title=Jquery_date_picker"/>
	<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Jquery_date_picker&amp;action=history"/>
	<updated>2026-04-27T22:13:05Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=Jquery_date_picker&amp;diff=557&amp;oldid=prev</id>
		<title>Chris: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Jquery_date_picker&amp;diff=557&amp;oldid=prev"/>
		<updated>2013-07-25T08:08:10Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 08:08, 25 July 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Chris</name></author>
		
	</entry>
	<entry>
		<id>https://deltanine.net/mw/index.php?title=Jquery_date_picker&amp;diff=556&amp;oldid=prev</id>
		<title>118.93.186.7: New page: Add the second line at the top: &lt;pre&gt; require_once(PATH_tslib.'class.tslib_pibase.php'); require_once(t3lib_extMgm::extPath(&quot;jquery&quot;).&quot;class.tx_jquery.php&quot;); &lt;/pre&gt;   Add the last 2 lines ...</title>
		<link rel="alternate" type="text/html" href="https://deltanine.net/mw/index.php?title=Jquery_date_picker&amp;diff=556&amp;oldid=prev"/>
		<updated>2008-05-25T08:01:13Z</updated>

		<summary type="html">&lt;p&gt;New page: Add the second line at the top: &amp;lt;pre&amp;gt; require_once(PATH_tslib.&amp;#039;class.tslib_pibase.php&amp;#039;); require_once(t3lib_extMgm::extPath(&amp;quot;jquery&amp;quot;).&amp;quot;class.tx_jquery.php&amp;quot;); &amp;lt;/pre&amp;gt;   Add the last 2 lines ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Add the second line at the top:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
require_once(PATH_tslib.'class.tslib_pibase.php');&lt;br /&gt;
require_once(t3lib_extMgm::extPath(&amp;quot;jquery&amp;quot;).&amp;quot;class.tx_jquery.php&amp;quot;);&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Add the last 2 lines here:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function main($content,$conf)	{&lt;br /&gt;
		$this-&amp;gt;conf=$conf;&lt;br /&gt;
		$this-&amp;gt;pi_setPiVarDefaults();&lt;br /&gt;
		$this-&amp;gt;pi_loadLL();&lt;br /&gt;
		tx_jquery::setPlugins(array('iutil','datePicker','date'));&lt;br /&gt;
		tx_jquery::includeLib();&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Use the date picker:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$content .= '&amp;lt;input class=&amp;quot;dp-choose-date&amp;quot; id=&amp;quot;date-pick-invDate&amp;quot; type=&amp;quot;text&amp;quot; size=6  name=&amp;quot;'.$this-&amp;gt;prefixId.'[DATA][invDate]&amp;quot; value=&amp;quot;'.$invDate.'&amp;quot;&amp;gt;' . &amp;quot;\n&amp;quot;;&lt;br /&gt;
$content .= '&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;' . &amp;quot;\n&amp;quot;&lt;br /&gt;
. '// &amp;lt;![CDATA[' . &amp;quot;\n&amp;quot;&lt;br /&gt;
. &amp;quot;Date.format = 'yyyy-mm-dd';&amp;quot; . &amp;quot;\n&amp;quot;&lt;br /&gt;
. &amp;quot;$('#date-pick-invDate').datePicker({clickInput:true, startDate:'2004-01-01'});&amp;quot; . &amp;quot;\n&amp;quot;&lt;br /&gt;
. '// ]]&amp;gt;' . &amp;quot;\n&amp;quot;&lt;br /&gt;
. '&amp;lt;/script&amp;gt;' . &amp;quot;\n&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With today's date selected:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$content .= '&amp;lt;input class=&amp;quot;dp-choose-date&amp;quot; id=&amp;quot;date-pick&amp;quot; type=&amp;quot;text&amp;quot; size=6  name=&amp;quot;'.$this-&amp;gt;prefixId.'[DATA][invDate]&amp;quot; value=&amp;quot;'.htmlspecialchars($this-&amp;gt;piVars['input_field']).'&amp;quot;&amp;gt;' . &amp;quot;\n&amp;quot;;&lt;br /&gt;
$content .= '&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;' . &amp;quot;\n&amp;quot;&lt;br /&gt;
.'// &amp;lt;![CDATA[' . &amp;quot;\n&amp;quot;&lt;br /&gt;
. &amp;quot;Date.format = 'yyyy-mm-dd';&amp;quot; . &amp;quot;\n&amp;quot;&lt;br /&gt;
. &amp;quot;$('#date-pick').datePicker({clickInput:true, startDate:'2004-01-01'}).val(new Date().asString());&amp;quot; . &amp;quot;\n&amp;quot;&lt;br /&gt;
. '// ]]&amp;gt;' . &amp;quot;\n&amp;quot;&lt;br /&gt;
. '&amp;lt;/script&amp;gt;' . &amp;quot;\n&amp;quot;;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>118.93.186.7</name></author>
		
	</entry>
</feed>