ASP button OnClick not firing in javascript popup

I am attempting to submit form data from within a javascript popup window.
The popup opens fine and displays all elements as expected. When I click the asp:button, before inputting anything, it performs required field validation as expected. All of that is working just fine.
The problem I am having is in getting the OnClick to work and submit the form data.
To say I am a beginner to javascript/JQuery is an understatement, so requesting a bit of hand-holding on this one. Thanks in advance for the help.

Regular Expression Validation in asp.net displaying the error message even when the phone number is correct

function regex() { var regex = new RegExp(/^(009665|9665|+9665|05|5)(5|0|3|6|4|9|1|8|7)([0-9]{7})$/); regex.test(‘0501234567’); // return true; regex.test(‘0521234567’); // return false; } regex() <div class=”newAcc”> <asp:TextBox ID=”phone” runat=”server” CssClass=”phone” value=”+966″ placeholder=”+966″></asp:TextBox> <asp:RegularExpressionValidator ID=”RegularExpressionValidator1″ runat=”server” ErrorMessage=”يرجى كتابة رقم هاتف صحيح” CssClass=”errorMassege” ControlToValidate=”phone” ForeColor=”#CC1007″ ValidationExpression=”/^(009665|9665|+9665|05|5)(5|0|3|6|4|9|1|8|7)([0-9]{7})$/” display=”Dynamic”></asp:RegularExpressionValidator> </div> the regex is working correct and the massage error displays even if the phone number … Read more