jQuery out of key-value pair send key to servlet while show value on webpage -


i have replace <select> tag jqueryui autocomplete

so code like

<select id = "product" name = "product"> <option value = "m0001">mercedes</option> <option value = "b0001">bmw</option> <option value = "f0001">ferrari</option> </select> 

so when form submitted servlet value m0001 or b0001 etc. depending on whether mercedes or bmw

now have replace jquery ui autocomplete. such when type on <input type = "text" name = "product"/> on webpage result mercedes or bmw etc. once bmw selected. on servlet doing request.getparameter("product"); give me b001

how can ??


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -