I have a javascript serahc tab..when u cliko n tht it displays all te list of bank locations...once u select ne bank the otehr fields in teh jsp should be populated with the bank details like addres,zip etc.my doubt is how do i use the query in javascript n get the values n populate the fields.? i hope u got the porblem.Thank you