Jquery autocomplet is easy but when you have to get the key of the array and store into the database or just you want to get it’s a bit tricky.
I have used the jquery UI autocomplete feature with JSON object which you can create with given PHP code.
As soon as you choose a list of the values, key automatically gets populated into another hidden field. For sake of understanding I made it text field.
You can do whatever you want with that id!!
please solve this problem
var[value=’network’,’name=’active’,’passive’]
will possible to in autocompleted to get the value
Thanks phpmind.. very useful..
what i’m searching not there means i need to enter newly that time that id is should be null . how can set that key value input field should be null
Thanks a lot dear friend.
Hi,
Can you pls add a demo sample, its not working for me.
hi
Really useful.
Thanks a lot 🙂