peak_positions 2 Posted May 23, 2012 Report Share Posted May 23, 2012 Hi , This is my Sample Script to add Calender view to select date and time in ubot . I need to get the value of textbox by declaring variable. If I declare any variable the date is hiding after I pick the date. So I used fillwith but no use. I can't get the date in variable. I've attached the javascript file. And the Ubot Coding I mentioned below. <html><head><script language="JavaScript" src="C:\Users\intell\Desktop\ts_picker.js"> //Script by Denis Gritcyuk: tspicker@yahoo.com//Submitted to JavaScript Kit (http://javascriptkit.com)//Visit http://javascriptkit.com for this script </script></head><body><form name="tstest"><input type="Text" name="timestamp" value=""><a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);"><img src="cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></a></form></body></html> Waiting for the good Solution.. Quote Link to post Share on other sites
keiooz 1 Posted May 24, 2012 Report Share Posted May 24, 2012 Just add this script and it will be all good right once the value for textbox is added? http://imagicon.info/cat/5-34/vbulletin-eek.gif Quote Link to post Share on other sites
peak_positions 2 Posted May 24, 2012 Author Report Share Posted May 24, 2012 Just try the code as i mentioned .. and call the javascript file. You could probably know what is my problem. After clicking the calender the value passed to text box. I can't set the variable . If i set the variable value is not passing to that particular variable.... Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.