Programming

how to use jQuery

Add the highlighted code to the head section of your html file
script_head
then change your JavaScript file to look something this,
script_function
 
Naturally removing everything between the { and the } and replacing with whatever you want.
That’s the basics, for more see jquery.com