Regarding calling a codebehind method in c# using javascript
hi dear
i want to know how can i call a code behind method written using c# with the help of javascript.
e.g. i have two dropdownlist one is populated with the names of states on pageload and i want to populate another with the city name on selection of the first dropdownlist. i want to use javascript for this to avoid page postback .
im not aware of any methods built in. I have always just delt with the postback, i typicaly made it a three part thing so that i would have the postbacks for ddls on one page, the next would be everything else then a thanks for x page