how to get property of div j code example Example: jquery add attribute $('#someid').attr('name', 'value');