Sigma Php Ajax framework, Ajax Components, GUI Builder
February 09, 2012, 09:50:55 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: comboinput - datepicker  (Read 1922 times)
andriansah
Jr. Member
**
Posts: 10


View Profile
« on: April 01, 2009, 01:08:16 AM »

I have a problem with comboinput with datepicker, when i set value to blank (delete it value) on blur event comboinput value is always set to 1/1/1970 not blank value.. how to set value to blank/empty value?

Thank's.
Logged
linb
Administrator
Hero Member
*****
Posts: 433


View Profile
« Reply #1 on: April 01, 2009, 05:40:20 AM »

ctrl.setValue('',true)
Logged
andriansah
Jr. Member
**
Posts: 10


View Profile
« Reply #2 on: April 01, 2009, 08:01:43 PM »

i mean how to do when event blur the value automaticaly set to blank not 1/1/1970, and how to change date format like dd-mm-yyyy?
Thx.
Logged
linb
Administrator
Hero Member
*****
Posts: 433


View Profile
« Reply #3 on: April 03, 2009, 06:10:13 AM »

linb.Locale.en.date.YMD=function(n,a,b,c){return c+'-'+b+'-'+a};
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!