[jQuery] Re: how to set the value of an input after selecting an option in a list

2008-02-12 Thread andrea varnier
On Feb 12, 10:13 pm, bractar <[EMAIL PROTECTED]> wrote: > 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

[jQuery] Re: how to set the value of an input after selecting an option in a list

2008-02-12 Thread bractar
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

[jQuery] Re: how to set the value of an input after selecting an option in a list

2008-02-12 Thread andrea varnier
On 12 Feb, 09:32, andrea varnier <[EMAIL PROTECTED]> wrote: > load() uses POST so sorry I forgot to delete this line :P

[jQuery] Re: how to set the value of an input after selecting an option in a list

2008-02-12 Thread andrea varnier
On 11 Feb, 20:41, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > after selecting a value in my select field and clicking on a button, I > call a function (please see the code below) not sure what you have to do, but if you want to use the response data of an ajax request, you must spec