Filling drop down list from database values in jsp using javascript(No ajax, no jquery) -
I have an application where the user can refer to the transaction. The transaction should be mapped to some securities (company name) that the user has already created. I want the users to see the names of their securities and as soon as they are typing, only the relevant security should be shown.
Example If the user types, then all securities starting with one should be visible. What is the way to do this?
It seems that I can not format block code in a comment, so give me another answer Was required:
You have to type the array into the document. I do not know Java, but it will be something similar:
out.write ("& lt; scripts> var JSSecurities = ["]; (Int safety = 0; Security; JavaSecurities.length (); Security ++) {out.write ("&" + + Java Securities [Security] + "','); } Out.write ("]");
Perhaps most suitable for each one, but I do not know syntax.
Comments
Post a Comment