Jump to content
UBot Underground

Calender in UI html Panel?


Recommended Posts

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..

Link to post
Share on other sites

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....

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...