hi guys,
based on this code given by google search,
and my own codes:
combobox1
combobox2
my action class
i found out that the onchange works by making an ajax request but i have no idea how to control the processStateChange function.
this is what i get when i did the onchange.
Uploaded with
ImageShack.us
can anyone guide me on how does
document.getElementById("componentCombo").innerHTML = req.responseText; works ?
or how can i populate combox2 collection based on selection from combox1 the right way using ajax and sturts.
Thanks in advance.