Posted 30 December 2012 - 01:13 PM
what did I do,can i cannot use onkeyup event if not then what event I use.
Posted 07 January 2013 - 04:17 PM
please open it and write "do" you can see related result now pres down arrow key and wait
a sec you can see it will disappeare.i know why this appear
i am using "onkeyup" event for this when you press down arrow key the function will refresh.
you will be able to see the code from page view source.
like google when you enter and word it will give you a list related to it.
i want to make my datalist like that.
Posted 08 January 2013 - 01:32 AM
Posted 08 January 2013 - 02:08 PM
Posted 08 January 2013 - 02:18 PM
<input type="text" id="searchBar" onkeyup="searchoption()" list="sop" />You are using the 'onkeyup' attribute of the <input> element. When the key comes up, you are calling the function searchoption(). In this function, you will need to do a test to see which key was pressed. If it's the up or down area, you will want to highlight the previous/next element, or if it's anything else you will want to hide the popup.
Posted 09 January 2013 - 06:27 PM
can here is any thing which can do that.
Posted 10 January 2013 - 12:56 AM
Posted 10 January 2013 - 12:58 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users