Yes, it would be helpful.  Can't really see what's going on in the
snippet you provided.  As Rob mentioned, there's no mention of the
form (even though it is there on the page).  It might give some
additional clues as to where things have gone wrong.

On Mon, Feb 9, 2009 at 3:46 AM, Jon <cakeordeat...@gmail.com> wrote:
>
> @ RobG: #aspnetForm is the form that wraps the whole of a dot net
> page. I simply posted the html snippet from the form itself.
> Individual forms do not have their own <form> tags, there is one large
> one that encloses the whole page - part of the dot net infrastructure.
>
> @ Aaron Grundel: No, but i will put one up tonight if it will help.
> I'm eager to use this validation plugin!
>
> On Feb 9, 2:14 am, RobG <rg...@iinet.net.au> wrote:
>> On Feb 9, 8:30 am, Jon <cakeordeat...@gmail.com> wrote:
>>
>>
>>
>> > I'm having issues getting the validation plugin (http://bassistance.de/
>> > jquery-plugins/jquery-plugin-validation/) to work with dot net.
>> > Whatever i try i can't stop the form from submitting. I've tried
>> > several things i've found on this group and the web. Can anyone help
>> > me getting this to work?
>>
>> > Here's my html.
>>
>> > <span id="ctl00_Control_LeftColumn_CF_Contact" class="ContactForm">
>> > <p class="SuccessMessage">Submitted</p>
>> > <span class="Field">
>> > <span class="Label">Name </span>
>> > <span class="Validation">
>> > <span id="ctl00_Control_LeftColumn_CF_Contact_ctl01_ctl04"
>> > style="display: none;"/>
>> > </span>
>> > <input id="ctl00_Control_LeftColumn_CF_Contact_ctl01_TB_TextBox"
>> > class="TextBox Name" type="text" name="ctl00$Control_LeftColumn
>> > $CF_Contact$ctl01$TB_TextBox"/>
>> > </span>
>> > <span class="Field">
>> > </span>
>> > <span class="Field">
>> > </span>
>> > <a id="ctl00_Control_LeftColumn_CF_Contact_LB_Submit" class="Submit"
>> > href="javascript:__doPostBack('ctl00$Control_LeftColumn$CF_Contact
>> > $LB_Submit','')" style="background-color: rgb(51, 51, 51);">Submit</a>
>> > </span>
>>
>> Invalid markup, there is no form.
>>
>> > And here is my javascript:
>>
>> > $(document).ready(function(){
>> >     $("#aspnetForm").validate({
>>
>> Where is #aspnetForm?
>>
>> --
>> Rob

Reply via email to