jquery - input type=search not working -


i have web app. uses jquery, bootstrap , kendo ui. have filterbox input searching kendo grid - had type="text" in markup changed take advantage of html5 type="seacrh" samll x in field when user types - reason not working? testing in chrome , did ctrl , f5 make sure reloaded page?

input field current looks like:

<input id="txtsearch" type="search" placeholder="type filter..."> 

and in js have following:

    var searchtextbox = $("#txtsearch");      searchtextbox.on("change keyup paste mouseup", function () {        // search logic     }); 

i on 35.0.1916.153 m , working please check fiddle.

http://jsfiddle.net/vmu3b/

var searchtextbox = $("#txtsearch");      searchtextbox.on("change keyup paste mouseup", function () {         var = ["#ff0000","blue","gray"];         var rand = back[math.floor(math.random() * back.length)];             $("#divtest").css('background',rand);     }); 

Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -