open a popup window when user enter fill the input field in a table using javascript
<p>i have a table containing input fields. to enter the time values by user.here i want the functionality is When they fill in the first start time, open a window that asks “do you want to include am/pm designations?” and if they say yes, include those am/pm options in the table.
how can i do this one by using javascript.</p>

<p>i write the following code</p>

<pre><code>&lt;div class="tbody"&gt;
&lt;div class="tbc1" style="width:32%;"&gt;
Start Time&lt;/div&gt;
&lt;/div&gt;


&lt;div class="tbody"&gt;&lt;div class="tbc1" style="width:32%"&gt;
&lt;input class="tblinput cd1st tsst tf" id="tsst" maxlength="5" type="text" style="width:45px;" placeholder="hh:mm"&gt;&lt;/div&gt;
</code></pre>
