jquery onblur text

Posted by Isis on Stack Overflow See other posts from Stack Overflow or by Isis
Published on 2010-03-24T13:50:27Z Indexed on 2010/03/24 13:53 UTC
Read the original article Hit count: 353

Filed under:
|
|

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!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about blur