Day 015 - Adding Text


Most of the time text will come from HTML content, but on some occassions you might find it handy to write something in jQuery.

Here, we call jQuery, search for a h1 tag and add some text into it.

$('h1').text('here is some text');

Demo