[jQuery] Re: Get the ID of a button that is clicked

2009-08-10 Thread Eduardo Pinzon
sorry, tanks for tip 2009/8/10 Charlie Griefer > Aye, but I've been reprimanded (on this list) for suggesting that (and > incurring the 'overhead' of a jQuery object) when 'this' works just fine :) > > > On Mon, Aug 10, 2009 at 11:56 AM, Eduardo Pinzon

[jQuery] Re: $ajax() problem

2009-08-10 Thread Eduardo Pinzon
If the type is POST you could set arguments by 'data', or set the type to GET to pass the paraments in querystring ... type: "GET", url: "mywebpage.aspx?Arg="+args2, ... OR ... type: "POST", url: "mywebpage.aspx, data:{Arg:"args2"} ... E

[jQuery] Re: jQuery validation - Numbers not allowed

2009-08-10 Thread Eduardo Pinzon
minlength: 2, >remote: "users.php" > } >} >}); > > }); > > Eduardo Pinzon Web Developer

[jQuery] Re: Get the ID of a button that is clicked

2009-08-10 Thread Eduardo Pinzon
or $(function() { $('#myGroup input:button').click(function(e) { self.location = 'foo.cfm?id=' + $(this).attr("id"); }); }); 2009/8/10 Erich93063 > > WOW I thought I tried that. That was my first instinct. I must have > had

[jQuery] Re: Regular Expression validation

2009-08-10 Thread Eduardo Pinzon
eturn true; } }, "Number is not permitted"); Eduardo Pinzon Web Developer 2009/8/10 nouky > > What I really wanted to do is use the jQuery validator and in the > function set a validation that numbers are not allowed in a text > input. > > For example

[jQuery] Re: Select Option add Class

2009-08-10 Thread Eduardo Pinzon
try this: $("#custom1 option").each(function(){ var class = $(this).html(); addClass(class); }); Eduardo Pinzon Web Developer 2009/8/10 Benn > > This might have been resolved, but I can't find a solution with my > search. I'm trying to add a clas