Apply for Zend Framework Certification Training

Jquery




<div class="input-group-btn search-panel">
       <button type="button" class="btn designer_search btn-info dropdown-toggle" data-toggle="dropdown">
           <span id="search_concept">Apply Filter</span> <span class="caret"></span>
        </button>
         <ul class="dropdown-menu" role="menu">
                <li><a href="#contains">Near My Location</a></li>
                <li><a href="#its_equal">Interior Designer</a></li>
                <li><a href="#greather_than">Product Designer</a></li>
                 <li><a href="#less_than">Material Expert </a></li>
                 <li><a href="#all">Multidisciplinary</a></li>
          </ul>
</div>
$('.search-panel .dropdown-menu').find('a').click(function(e) {
                e.preventDefault();
                var param = $(this).attr("href").replace("#","");
                var concept = $(this).text();
               $('.search-panel span#search_concept').text(concept);
               $('.input-group #search_param').val(param);
                alert(concept);
 });                                    

< Login Script using jquery and php Codeigniter Questions Part 4 >



Ask a question



  • Question:
    {{questionlistdata.blog_question_description}}
    • Answer:
      {{answer.blog_answer_description  }}
    Replay to Question


Back to Top