[eluser]theighost[/eluser]
i re arranged the javascript which wasnt colored(ignored) for some reason...now i see the alert as index.php/state/-1
it means it applies it.
now i built a function in the controller that is named state() this function loads a view which name is state.php
another function (which i apply in the url to test) is called state_dropdown() which loads the ajax script and has the connection not to the file state but to the function state that has the connection to the file state.
I hope u got me.
anyway the dropdown list remains empty!