I have a question regarding textbox properties. In my textbox username I want to happen is when I input a letter for example is “l” all the letter started in “l” in my field username was appear, so that the user can choose what she want to type to lessen the time in typing like in the google search. Is it possible?How can I do that?
Yes it is stored in database…IS it possible in any fields?How can I do that?I’m not familiar with AJAX?Some said it is possible using autofill?But I don’t know where I can enable it?
I’m sorry…I’m wrong when I said that the textbox or the field is username…it is machine number.Is it possible that when in my machine number field in my table has a data like this: K1,K2,K3,D1,D2,D3 and when i input in textbox the letter K all the first letter in the field machine number that start in letter K appear almos like autofill?So that she can used arrow down key to choose what in machine number she want to input. Any possible can I do to fix this issue?
whether it is a username or machine number, the process is the same.
You can use ajax to send whatever is in the textbox to a server side script that gets the records out of the database table according to the contents of the textbox.
Ajax then returns those records to the browser.
Once back in the browser, those records are used to populate the <option> elements in a <select> and the user can then click on which ever option they want.