[jQuery] Validate Not Working in MVC (Validate)

2009-07-10 Thread Jarrod
I have an MVC application and I am trying to do some validation but the Validate doesn't seem to fire. I can get it working in a basic html page but for some reason it is not working in my aspx page and I am not sure why. I have all the js files included that I need and the CSS classes defined exa

[jQuery] jquery hover in ie

2008-02-22 Thread Jarrod
t("on")},function() {alert("off")}); didn't work but area.mouseover( function() {alert("on")}); area.mouseout( function() {alert("off")}); did work. Any ideas? Thanks, Jarrod

[jQuery] Re: How to determine radio button state?

2008-01-09 Thread jarrod
Thanks a lot for the replies. I was able to get it working. E -- View this message in context: http://www.nabble.com/How-to-determine-radio-button-state--tp14700653s27240p14718966.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re: How to determine radio button state?

2008-01-08 Thread jarrod
jarrod wrote: > > I'd like to show or hide a table row depending on whether a certain radio > button is checked. > > I can not use a $(theRadioButton).click( ... ) handler for several > reasons. One of them is that I need to check the state when the page loads > an

[jQuery] How to determine radio button state?

2008-01-08 Thread jarrod
I'd like to show or hide a table row depending on whether a certain radio button is checked. I can not use a $(theRadioButton).click( ... ) handler for several reasons. One of them is that I need to check the state when the page loads and show or hide the element accordingly. I'm selecting the

[jQuery] Figured it out

2007-10-06 Thread jarrod
jarrod wrote: > > I'm finding that the Dimensions plugin sometimes doesn't return the "top" > position of an element, just returns zero. (Sometimes works perfectly > though.) > Right after I posted I realized that it was because the element was hidden. I c

[jQuery] Dimensions plugin, offset['top'] returns 0 regardless of position

2007-10-06 Thread jarrod
I'm finding that the Dimensions plugin sometimes doesn't return the "top" position of an element, just returns zero. (Sometimes works perfectly though.) Here is my code, sanitized for the forum software. // Finds the height that an element should be to be X number of pixels from the // bottom o

[jQuery] Re: Trouble with tablesorter in IE

2007-08-14 Thread jarrod
Christian Bach wrote: > > Hi Jarrod, > > Would it be possible for you to make a test page and reply with the URL? > > It is tested in IE 6 and should work with out a problem. > > /christian > > Sorry to say I don't have access to a public server at the

[jQuery] Trouble with tablesorter in IE

2007-08-14 Thread jarrod
I've got the tablesorter plugin working great in Firefox. However, it has no effect in IE. The table behaves as if it's just a static table. The column header background images do not appear and clicking col heads does nothing. I verified that the page is valid XHTML 1.0 Transitional. I set up

[jQuery] Re: Enable / disable submit button solution

2007-07-23 Thread jarrod
malsup wrote: > > > jarrod, > > Now that I know what you're trying to do I would suggest something like > this: > > $('form').submit(function() { > var val = $('[EMAIL PROTECTED]', this).val(); > if (val == null) >

[jQuery] Re: Enable / disable submit button not working

2007-07-23 Thread jarrod
bmsterling wrote: > > jarrod, > I personally have never formated my code like > $(event.target).fieldValue()[0], > but what happens when you do $(event.target).val().length? > > Also, I believe you can get away $('[EMAIL PROTECTED]', > activeForm).disabled =

[jQuery] Enable / disable submit button not working

2007-07-23 Thread jarrod
I can't figure out why this simple isn't working. I've tried a number of variations. I've tried examining the vars with debugging output. I have a bunch of forms on the page, each one having just one text input and a submit button. When the user types in any of the forms I want to make sure the

[jQuery] Re: form attributes undefined?

2007-07-23 Thread jarrod
jarrod wrote: > > > When I output the form itself... > > $('div#debug').text( $(activeForm).attr('action')); > > I meant $('div#debug').text( $(activeForm)); -- View this message in context: http://www.nabble.com/form-attributes-unde

[jQuery] form attributes undefined?

2007-07-23 Thread jarrod
In $(document).ready() I have... $("input").keyup(function(event){ var activeForm = $(event.target).parents('form'); $('div#debug').text( $(activeForm).attr('action')); }); I'm trying to read attributes of the "activeForm". I keep getting "undefined". I've trie

[jQuery] Re: Better way to select parent form?

2007-07-18 Thread jarrod
Richard D. Worth-2 wrote: > >> I haven't found anywhere in the docs that talks about using this selector >> thing $() with two arguments. What exactly is going on there? > > > See http://docs.jquery.com/Core#.24.28_expr.2C_context_.29 > > "By default, if no context is specified, $() looks fo

[jQuery] Re: Better way to select parent form?

2007-07-18 Thread jarrod
I don't understand this part: > var input = $('[EMAIL PROTECTED]', form); Specifically this: "$('[EMAIL PROTECTED]', form);" I haven't found anywhere in the docs that talks about using this selector thing $() with two arguments. What exactly is going on there? > Also may I ask why you're

[jQuery] Re: Better way to select parent form?

2007-07-18 Thread jarrod
Erik Beeson wrote: > > >> $this = $("#myinput"); >> $thisForm = $("form",$this.parent()) > > I didn't really read the OP, but I think that's the same as: > > $thisForm = $('#myinput').parent().find('form'); > > Or at that point, might as well do: > > $thisSubmit = $('#myinput').siblings('[

[jQuery] Better way to select parent form?

2007-07-18 Thread jarrod
I'm trying to write a script that responds to a keyup event in any field of a given form. If the form is valid, the submit button of that form is enabled. The problem is that there are several forms on the page. My script has to enable the right one. I have a way that works, but it's complicated