Annuavepess
New Member
I have an aspx file with a button:\[code\] <asp:TableRow HorizontalAlign="Left"> <asp:TableCell HorizontalAlign="Center" ColumnSpan="2"> <asp:Button ID="ButtonSaveUser" runat="server" Text="Register" OnClick="ButtonSaveUser_Click" OnClientClick="chkForm()" /> </asp:TableCell></asp:TableRow>\[/code\]I want to be able to store my jquery in a seperate file to make it cleaner and easier to work with. So, I include my link to this file (Scripts/RegistrationValidation.js) which follows:\[code\]$(document).ready(function() {chkForm(); });\[/code\]I read that the button's OnClientClick event should link to this code which it does. But, when I set a break point on the first line it doesn't get past the first line that waits for the DOM to load.BTW, I've tried this on IE9 and Chrome with the same issue.Is it the DOM not loading? I don't know what it is.Paul