Problem using jquery change function on a select element?

This should work fine, have you included jQuery files. Please check that jQuery is included properly. $(document).

Ready(function() { alert('hello'); }); This should give an alert, in case this does not, then jQuery is not working properly.

$('select. Foo option:selected').val(); // get the value from a dropdown select More about the subject; api.jquery.com/val/ api.jquery.com/selected-selector/ jquery - setting the selected value of a select control via its text description.

3 The same documentation says that $('select. Foo').val(); is equivalent. – pimvdb Aug 24 at 15:06.

I am using a simple select element. On selecting a option in the select menu, I want to use jquery's post method to update the div. I want to bind the change event to the select element.

This does not work. I don't see the alert box on changing the select box. I appreciate any help.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions