<input type="search"> not working on iPhone Mobile Safari -


supposedly in html5 in safari, can define input type "search" , when user starts typing, x button show allow them clear, google search bar in safari. on website, works on desktop safari doesn't work in mobile safari.

    <input id="termsfield" type="search" autocorrect="off" placeholder="type here">  //this code x button have use since html5 doesn't work <input type="image" name="clear" alt="clear" src="clearx.png" height="22" width="22"         onclick="cleartext(this)"> 

at first thought it's because have jquery autocomplete function on #termsfield again if works in desktop safari wouldn't case. have idea why might happening? also, doesn't work either on iphone or in iphone simulator in xcode it's not issue iphone.

that works in (desktop) safari, not on iphone (mobile safari). can mimic functionality via clever javascript.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -