Hi all,
i hav a strange requirement.but it'll be easy.it's actually inside my
JSP page.but it's only related to HTML or javascript.
i hav 3 textfields for searching.that is ,
1)products textfield(user can enter product name then click search)
2)company textfield(user can enter company name then click search)
3)category textfield(user can enter company name then click search)
put value in any textfield and click search.that will bring search results.
now i wanna change this to one textfield and a listbox.user can type in textfield and select an option(products or company or category)then click search.
how to make it possible?.
i wanna make all names of <input> tags as same before.i wanna change the name of textfield according to the listbox selection.that i think the quick trick.
anyone plz help
thanks in advance