Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!

nad nadia

Greenhorn
+ Follow
since Mar 20, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by nad nadia

"a" is an item_type, and its a string..
I try to get record in database, and once i got the result, i need to pass all the data I got to java script.
so the "b" is a "a" its just I dunt know how to pass to JS, in JS i want to popup all the value that i got from JS.
what I want exactly is, how to pass all the record from rs.getString to the javascript function
thnk you
I try already... still cannot... mayb bcoz the value is actually is an array...
the a value have many value like "a,b,c,d,e,f,g........"
THANKS FOR ALL YOUR HELP.. still need more help
I really dun know how to pass the a value to the add function, can anyone help me?
while(rs_it.next())
{ a=rs_it.get string("item_type");
i++;}
input type="button" on click="add(a)"/button
script language="JavaScript"
function add(b){
window.alert("a"+b); }
[ March 21, 2007: Message edited by: Bear Bibeault ]
acctually... i just do whateva my boss need me to do...
actually our page sometimes have more than 30 drop down list in one page, so if every drop down request from database, its quite slow...
thanks for your advice, but i still need to do it,so, do know how to do it? thnaks
hello guys.. i am a beginner.. so i totally burr about tis.. so need yout help.. and if possible give me step by step..
the prob is..
I want to create a combo box which load its data automatically when user click the combo box. and the data is retrieve from database SQL, that means, once mouse over the combo box, it will call a function to load the data. If not, the combo box is remain empty.

thanks for any help.
hello guys.. i am a beginner.. so i totally burr about tis.. so need yout help.. and if possible give me step by step..
the prob is..
I want to create a combo box which load its data automatically when user click the combo box. and the data is retrieve from database SQL, that means, once mouse over the combo box, it will call a function to load the data. If not, the combo box is remain empty.

thanks for any help.