[eluser]Unknown[/eluser]
Actually I have a data array passed to view as
$data['classes']=list of books of that class from database
now i want in view that select class form drop down then on change event it will populate the books of that class in another drop down
classess aray is something like this
classes{
classid=1,books=array of books of that class id ...
}
something like this .
i encoding the classes array in json and passing it to javascript function ..
Now how to iterate through that array and populate another drop down on value of first..
Kindly help