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
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
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.
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
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
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
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
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
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
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)
>
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 =
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
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
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
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
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
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('[
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
18 matches
Mail list logo