• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Steemistry HomeSteemistry
LoginSign up

엔터키 입력시 함수 호출 또는 submit 하기 (제이쿼리)

songskysun (25)in #javascript • 9 years ago

<스크립트>

$(".search_input").keypress(function(e) {

if (e.keyCode == 13){ // search_input 이라는 클래스의 객체에서 13번키 (엔터)가 입력되면 
    action();                      //action 함수를 호출한다.

}    

});

</스크립트>

#keypress #jquery
9 years ago in #javascript by songskysun (25)
$0.00
    2 votes
    • + modemser
    • + songskysun
    Reply 0

    New to Steemistry?

    • Welcome Guide

    Promoted Posts

    • West Chester Wildlife: Photographs and observations of small birds and other animals in September 2026@remlaps
    • Amplification in Action: A Working Prototype of Reblog with Comments for Steem@remlaps
    • Ten new cards are coming to animalCards [burnsteem100]@remlaps-lite
    View all promoted posts

    Pinned Communities

    • CCC
    • Art & Artists
    • SCB Monkey Business
    • Tales & Stories
    • Steem for Betterlife
    • Trending Communities
    • SteemitCryptoAcademy
    • Newcomers' Community
    • আমার বাংলা ব্লগ
    • Steem Alliance
    • Korea • 한국 • KR • KO
    • Steem Venezuela
    • Beauty of Creativity
    • Steem For Lifestyle
    • Comunidad Latina
    • Tron Fan Club
    • Steem POD Team
    • AVLE 일상