Jq index of element. It looks like jQuery's index function should work regar.