Showing posts with label jquery tutorial. Show all posts
Showing posts with label jquery tutorial. Show all posts

Sunday, August 18, 2013

Jquey Autocomplete for Dynamic Textbox

Jquey Autocomplete for Dynamic Textbox
 
 
var availableTags = [
                         "ActionScript",
                         "AppleScript",
                         "Asp",
                         "BASIC"
                       ];
 
 
 $(document.body).on("click",".classname",function(){
        $(this).autocomplete({
              source: availableTags
        });
    });

Tuesday, February 7, 2012

Jquery Tutorial 2


In this post we are going to see how to eliminate particular tag lies under parent tag.

for example  if you are having below exmaple :

<ul>
    <li>
    <li>
    <li>
    < id='eliminate li>
<ul>




$("#lis").not("#eliminate").css("background-color","blue");

If you run above code, background color will change all li tags other than eliminate id li tag... so this is very useful for creating tabs in any application mouse over offect of menus....