Alternation in (weighted) ordinary rational approximation on a subset