jquery onblur text
- by Isis
Hello
<div id="servisesmenu">
<span class="services" title="???????">???????</span>
</div>
<div id="services_menu" class="hiddenmenu">
<div class="framemenu">
<div class="itemmenu"><a href="/flights_booking/" class="u" title="??????? ??????????? ??????">??????? ??????????? ??????</a></div>
<div class="itemmenu"><a href="/hotels/" class="u" title="???????????? ???????? ??????">???????????? ???????? ??????</a></div>
<div class="itemmenu"><a href="/sea_cruises_search/" class="u" title="????? ???????">????? ???????</a></div>
<div class="itemmenu"><a href="/flights_panel/" class="u" title="????? ??????????">????? ??????????</a></div>
</div>
</div>
$('.services').click(function() {
$('#services_menu').attr('class') == 'hiddenmenu' ? $('#services_menu').attr('class', 'visiblemenu') : $('#services_menu').attr('class', 'hiddenmenu');
});
It's okay.
But...How can I make by clicking on any place on the page, this field disappeared (class a hiddenmenu)
Sorry for bad english.
Thank you!