$(document).ready(function(){ $("input").click(function(){ $("p").toggle(); }); });