On 29 Jul, 16:11, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Try this: > > $('[EMAIL PROTECTED]"foo-"]').attr('id', function() { > return this.id.replace('foo', 'bar'); > > }); > > --Klaus
Thank you very much. That solved my problem:)
On 29 Jul, 16:11, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Try this: > > $('[EMAIL PROTECTED]"foo-"]').attr('id', function() { > return this.id.replace('foo', 'bar'); > > }); > > --Klaus
Thank you very much. That solved my problem:)