I have one form: CityManagement.php I need one popup to come-up for EDIT When i say SUBMIT, it must refresh the list box(contains cities) contents and should not reload the page.... is there any good script to do so?
you can use jquery for this. when you clicked the edit link, open modal edit box. and when you click the save button, your codes save the data with ajax. if save progress is success you add the this code in ajax success function for example. $.post('/cityupdate/'+cityid, function(data){ if (data=='success') { $('#yourSelectboxId option[value='+cityid+']').text($('#yourInputTextId').val()); } else { // alert ajax return error messages alert(data); } }); HTML: