jQuery Form Events - jQuery Tutorial 35

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • Notes for You:: jQuery Form Events - jQuery Tutorial 35
    - are triggered on the change in status of a form control
    focus()
    - is triggered when a form control gets focus
    Ex:
    $("input").focus(function(){
    $(this).css("border","5px solid green");
    });
    blur()
    - is triggered when a form control gets blur
    Ex:
    $("input").blur(function(){
    $(this).css("border","5px solid red");
    });
    select()
    - is triggered when you select the content of a form control
    Ex:
    $("input").select(function(){
    alert($(this).val());
    });
    change()
    - is triggered when the value of a form control changes
    Ex:
    $("input").change(function(){
    alert($(this).val());
    });
    submit()
    - is triggered when you submit the form
    Ex:
    $("form").submit(function(){
    alert("form submitted");
    });
    =========================================
    Follow the link for next video:
    • jQuery on() Function -...
    Follow the link for previous video:
    • jQuery Keyboard Events...
    =========================================
    jQuery Tutorials Playlist:-
    • jQuery Tutorials
    =========================================
    Watch My Other Useful Tutorials:-
    jQuery UI Tutorials Playlist:-
    • jQuery UI Tutorials
    Bootstrap Tutorials Playlist:-
    • Bootstrap4 Tutorials
    Dreamweaver Tutorials Playlist:-
    • Dreamweaver Tutorials
    =========================================
    ► Subscribe to our UA-cam channel:
    / chidrestechtutorials
    ► Visit our Website:
    www.chidrestec...
    =========================================
    Hash Tags:-
    #ChidresTechTutorials #jQuery #jQueryTutorial

КОМЕНТАРІ •