how to append two strings in javascript without space?
<p>I have two strings one brings me a time ie:</p>

<pre><code>var gettime= $("#select-choice-2 :selected").text();
</code></pre>

<p>it gives me time in 24 hr format like this</p>

<pre><code>17:45
</code></pre>

<p>but i want my time to be in a format like</p>

<pre><code>17:45:00.000
</code></pre>

<p>for which i made a string</p>

<pre><code>var ext=':00.000';
</code></pre>

<p>I want these two strings to concatenate in such a way to give me proper result.</p>

<p><strong>I see now whats the problem is my "gettime" is not a proper string, i tried it to show in alertbox but nothing happens, so please tell me how to convert gettime into a string.</strong></p>

<p><strong>I got it "gettime" is a local variable and ext is using in some other function thats why "gettime" was not appearing in alertbox, stupid ehh :p</strong></p>
