hi thank you for your help but I still have a problem.
I want to put the result of 'index.php/get/s_document_loadFields/' in the input field $('#newDoc_name') after selecting a value in the list $('#newDoc_select') The following code doesn't work for me $('#newDoc_name').load('index.php/get/s_document_loadFields/', function(date){ $('#newDoc_select').val(data); }); -- View this message in context: http://www.nabble.com/how-to-set-the-value-of-an-input-after-selecting-an-option-in-a-list-tp15419610s27240p15441221.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.