Launch your Web design program, HTML editor or plain text editor.
Click "File" on the main menu. Select "Open" from the context menu and open the Web page on which you want to insert the jQuery Variable. Click "Code" or "HTML" view if you're using Web design software. This displays all the HTML code on the page.
Scroll to the header section of the Web page. This is all the text and code between the <head> and </head> tags.
Click on the page immediately before the </head> tag and type or paste the jQuery Variable code. For example, insert a text button that disappears when the visitor clicks the button:
Scroll to the body section of the page. This is all the code and text between the <body> and </body> tags.
Click at the correct insertion location for the text, graphic or object effect that you want to implement with the jQuery Variable code that you inserted in the header section. For example, enter for the code for the disappearing button effect:
Save the edited Web page and upload it to your website's host server. Repeat this process for each jQuery Variable that you want to insert.
Tips & Warnings