Get selected time in javascript control
<p>I'm using the following JavaScript Control:</p>

<p><a href="http://www.ama3.com/anytime/" rel="nofollow">http://www.ama3.com/anytime/</a></p>

<p>How do I get the selected date in the control? So I can pass it to a postback page?
I tried finding it, but I'm just not very good at JavaScript :(</p>

<p>Which function do I have to call?</p>

<pre><code>// Initialization
$(document).ready(function () {
    //alert("welcome");
    $("#DateTimeDemo").AnyTime_picker(
  { format: "%Y-%m-%d %H:%i: %E",
      formatUtcOffset: "%: (%@)",
      hideInput: true,
      placement: "inline"
  });

// Asp.net code
&lt;input type="text" id="DateTimeDemo" style="background-color:Green;" /&gt;
</code></pre>

<p>I assume the code will be something like this:</p>

<pre><code> var x = getBlaBla();
</code></pre>

<p>Where x is something that I can use to pass to C# for postback info. I think I'll have to use JQuery to select the object I'll be taking the date out of.</p>

<p>Edit:
Okay I think I have to use something like this:</p>

<pre><code>$("#DateTimeDemo").AnyTime_current(g, k);
</code></pre>

<p>what do the g and the k stand for? What do I have to pass?</p>
