vendredi 25 décembre 2015

jquery in java scrip not working

i tried to show alert message when i press any key but it doesn't work

I'm using google jquery libarary

<script src="http://ift.tt/1APuVEV"></script>

and in java-script

<script>$(document).ready(function(){
    $('#search').keyup(function(){
          var searchItem = $('#search').val();
          alert(searchItem);             
    });});</script>

and in php

 <input  id="search" name="search">



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1QLLl81
via IFTTT

Aucun commentaire:

Enregistrer un commentaire