SyntaxFix
Write A Post
Hire A Developer
Questions
Like this :
var id = $('div.foo').attr('id'); $('div.foo').attr('id', id + ' id_adding');