Hi all... I'm fairly rubbish at JavaScript, and fairly new to jQuery, but this seems like the simplest of tasks. I just can't get it to work!

How do you use jQuery to access the selected element of a dropdown list?

At the moment, I have:

width = $(#myform select).val();

but it is just returning null. How do you get to the value of a select element with jQuery?

Cheers,

Chris