Focus on 1st search Input field

I've found the below post very useful for focusing input on a certain field when opening the form.

https://support.knack.com/hc/en-us/community/posts/360048445352-What-I-ve-learnt-in-one-week-of-javascript-dabbling?input_string=Focus

But I can't get the focus to work with a search input field

The search input field doesn't have a "Field ID" as such so i've tried to get the horizontal value but I can't get this to work - any help??

. Below code i'm currently using.

$(document).on('knack-view-render.view_200', function (event, view, data) { //last view on page
$(".kn-search-filter.control.is-horizontal .value").focus(); //focus field
});