If you are unable to create a new account, please email support@bspsoftware.com

 

[Cognos 8.2] Setting value into Date Time prompt using Javascript[Solved]

Started by ShacharH, 27 May 2014 01:21:07 AM

Previous topic - Next topic

ShacharH

Hi Guys,

How can i set string value into Date Time prompt using Javascript?

I have this string variable:
var start_time = document.getElementById("start").value;
which contains date in string format.

Any ideas how to proceed?

Thanks In Advance

ShacharH

Thanks to Paul M for the online help. problem solved.

Solution:
pickerControl_StartTime.setValue(document.getElementById("<enter here your date variable>").value);
timePicker_StartTime.setValue(document.getElementById("<enter here your time variable>").value);