,

JQuery syntax


Try this

Hide an element of the screen

jQuery code
<script> $('#green_message').hide(); </script>

HTML
<span id='green_message'> This is the green message </span>

Instead of .hide() you can use any of the functions available, or you can create one.

Syntax

$('select_an_element').call_jquery_function()

Legend:

  • select_an_element: CSS selector (".class1", "#id2" ...)