autoselect input with url