1. First i select the class name in combo box -> using jQuery reload the page.
2. after reload the page, Student name was display in random. so i add two radio button.
1. Ascending order
2. Descending order
if i click the Ascending order radio button, the page will reload and display the student name in ascending order and combo box display the previous selected class name. how?
pls give some idea.
<!-- radio button jQuery -->
Expand|Select|Wrap|Line Numbers
- $('#list').click(function(){
- val=$'#list click').text();
- ----
- ---- give come idea.
- });
Expand|Select|Wrap|Line Numbers
- $('#classList').change(function(){
- val=$('#classList option:selected').text();
- if(val != "-Select Class-"){
- htm = '<input type="hidden" name ="rmksSelectedClass" value="'+val+'">';
- $('#frmRemarks').append(htm);
- $('#frmRemarks').submit();
- }
- });