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 wrote:
>
>> or
>>
>>$(function() {
Would e.target.id also work in this case?
Thanks,
Anoop
On Mon, Aug 10, 2009 at 3:00 PM, Charlie Griefer
wrote:
> 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
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 wrote:
> or
>
>$(function() {
>
>$('#myGroup input:button').click(function(e
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
WOW I thought I tried that. That was my first instinct. I must have
had an error somewhere else. That worked. THANKS!
On Aug 10, 11:50 am, Charlie Griefer
wrote:
> this.id
>
>
>
> On Mon, Aug 10, 2009 at 11:48 AM, Erich93063 wrote:
>
> > I have a listing of records on a page and an "Edit" butto
this.id
On Mon, Aug 10, 2009 at 11:48 AM, Erich93063 wrote:
>
> I have a listing of records on a page and an "Edit" button for each
> record. I want to write some jquery that fires when the button is
> clicked to go to the edit page for the record whose button I clicked.
>
> Here is what I have.
6 matches
Mail list logo