I am having a problem with jquery. My HTML is
$('#first span.test').text('Welcome');
jQuery selectors are CSS selectors extended with a bit of magic. You can find everything you need to know here: http://api.jquery.com/category/selectors/