these are the right methods with an optionset attribute, for more information visit this link:
http://msdn.microsoft.com/en-us/library/gg334409.aspx
get the text of selected option
Xrm.Page.getAttribute("fieldname").getText();
get the numeric value of selected option
Xrm.Page.getAttribute("fieldname").getValue();