fatihturan wrote:
I want to replace a word from <a> tag's title attributes. Is there any function for this situation? I was look jquery's api browser but i cant found any function for my wish. Thanks.
Try:
$('a').attr('id', function() {
return this.id.replace('foo', 'bar');
});
http://docs.jquery.com/DOM/Attributes#attr.28_key.2C_fn_.29
--Klaus

