First off, semi-colons. Always end your lines with semi-colons. Otherwise the browser does a best guess, and believe me, you'll have problems.
Are you sure that
is getting the value you intend? Have you looked at the traffic in Firebug or Fiddler to see if you have any errors?
If there are 20+ items in the dropdown, then the value will be in an input, not a select. If you have the December CU or SP2 on SharePoint 2010 or you are on Office365 and the column is required, the Title will be "Department Required Field".
M.
Are you sure that
$("select[title='Department'] option:selected").text()
If there are 20+ items in the dropdown, then the value will be in an input, not a select. If you have the December CU or SP2 on SharePoint 2010 or you are on Office365 and the column is required, the Title will be "Department Required Field".
M.