log in with javascript pop up log in box
<p>I am new in Php and Javascript.</p>

<p>The problem that I am facing, with my Javascript, log in popup box.Pop up box is working well but while I want to log in with it.</p>

<p>I can't make action to my<code>process_login.php</code> page because there is no way to do it.Generally in simple log in form,we have a option of to make <code>action</code> to the <code>process_login.php</code> just like that</p>

<p><code>&lt;form  method="post" action="process_login.php" &gt;</code>
but in my Javascript log in popup box having no such option to make a action to my <code>process_login.php</code> page.</p>

<p>Here is my Javascript pop up log in box code</p>

<pre><code>&lt;div id="vpb_login_pop_up_box" class="vpb_signup_pop_up_box"&gt;
&lt;div align="left" style="font-family:Verdana, Geneva, sans-serif; 
font-size:16px;      
font-weight:bold;"&gt;Users Login Box
&lt;/div&gt;
&lt;br clear="all"&gt;


&lt;div style="width:100px; padding-top:10px;
margin-left:10px;float:left;" align="left"&gt;
Your Username:&lt;/div&gt;
&lt;div style="width:300px;float:left;" align="left"&gt;
&lt;input type="text" id="usernames" name="usernames" 
value=""class="vpb_textAreaBoxInputs"&gt;
&lt;/div&gt;&lt;br clear="all"&gt;&lt;br clear="all"&gt;

&lt;div style="width:100px; padding-top:10px;
margin-left:10px;float:left;"  align="left"&gt;
Your Password:&lt;/div&gt;
&lt;div style="width:300px;float:left;" align="left"&gt;
&lt;input type="password" id="passs" name="passs" value="" 
class="vpb_textAreaBoxInputs"&gt; 
&lt;/div&gt;&lt;br clear="all"&gt;&lt;br clear="all"&gt;

&lt;div style="width:100px; padding-top:10px;
margin-left:10px;float:left;"
align="left"&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="width:300px;float:left;" align="left"&gt;

&lt;a href="javascript:void(0);" class="vpb_general_button"&gt;Login&lt;/a&gt;

&lt;a href="javascript:void(0);" \
class="vpb_general_button" onClick="vpb_hide_popup_boxes();"&gt;
Cancel&lt;/a&gt;
&lt;/div&gt; 
</code></pre>

<p>Now.</p>

<p><strong>my question is that how can i make action on my</strong> <code>process_login.php</code>?</p>

<p><strong>Or there is any other way to make action in my</strong> <code>process_login.php</code>??</p>

<p>My <code>process_login.php</code> have all the process of of a simple log in.</p>

<p>Is any body have any answer, if have then it will be very helpful for me...please help me</p>
