jQuery DatePicker Demo
697230May 20 2009 — edited May 21 2009Hi All,
I was trying to implement ROEL's date example:-
[http://apex.oracle.com/pls/otn/f?p=41715:4:1359254168479079::NO:::]
After reading his blog [http://roelhartman.blogspot.com/2008/12/how-to-replace-default-apex-calendar.html] this is what I did:-
1). Downloaded 2 files "jquery-1.3.2.min.js" and "ui.datepicker.js" and attached under STATIC FILES under Shared Components
2). Created new HTML Region on Page 0(zero) and included below code under Region Source:-
<SCRIPT src="#WORKSPACE_IMAGES#jquery-1.3.2.js" type=text/javascript></SCRIPT>
<SCRIPT src="http://jquery-ui.googlecode.com/svn/trunk/ui/ui.datepicker.js" type=text/javascript></SCRIPT>
<LINK href="http://jquery-ui.googlecode.com/svn/trunk/themes/default/ui.datepicker.css" type=text/css rel=stylesheet>
<b> Dont know from where to download and attach "ui.datepicker.css" file also I change from "jquery-1.2.6.js" to "jquery-1.3.2.js"</b>
3). I created new item on page definitation with DISPLAY AS "Text Field" and HTML Form Element Attributes " class="datefield" "
4). On Page 4 where should I include below code??????:-
$(function(){
// Attach a DatePicker icon and function to input fields with class="datefield"
$("input.datefield").datepicker(
{ dateFormat : 'dd/mm/yy'
, closeText : 'X'
, clearText : ''
, showOn : 'button'
, buttonImage : '#APP_IMAGES#calendar.gif'
, buttonImageOnly : true
});
});
If any body can show me live example on apex workspace that would be great, I have set an example on apex!!
deepapex/deep.apex1393@gmail.com/walubu
App "JavaScript" and page 6
Let me if you have any questions than
Thanks
Deep