[jQuery] select inside an object

[jQuery] select inside an object


Hello,
I have a jquery object (form) and I would like to select a "select"
form element inside of it.
This code will work as expected:
$('#rating select')[0].selectedIndex = 2;