Good day! Help Wanted! In general, everything works fine in the sandbox. http://jsfiddle.net/zawex/bmnUG/5/
(the task is to click on the image of the output of the block, and on click to any place except the block, to close it)
However, when I try to put it into practice (I have already tried to just in html clean, locally) the event when I clicked on the image does not work. I connect only jquery-1.9.1 - the last.
Persistently do not understand what is wrong. And why this “what” is wrong. спасибо
advance.
upd. code that I insert
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf8" /> <title>vsd</title> <link rel="stylesheet" type="text/css" href="mysite.css"> <script src="jquery-1.9.1.js" type="text/javascript"></script> </head> <body> <script language="JavaScript" type="text/javascript"> *** /*скрипт аналогично Jsfiddle */ </script> /*хтмл код*/ </body> </html>