nsHTMLSelectElement::SetSelectedIndex(PRInt32 aValue)
nsHTMLSelectElement::SetSelectedIndex(PRInt32 aIndex)
nsHTMLSelectElement::SetSelectedIndex(PRInt32 aValue){  nsIFormControlFrame* formControlFrame = nsnull;  if (NS_OK == nsGenericHTMLElement::GetPrimaryFrame(this, formControlFrame)) {    nsString value;    value.Append(aValue, 10);    nsIPresContext* presContext;    nsGenericHTMLElement::GetPresContext(this, &presContext);    formControlFrame->SetProperty(presContext, nsHTMLAtoms::selectedindex, value);    NS_IF_RELEASE(presContext);  }  return NS_OK;}