We upgrade our portal from 8.1.2 to 9.4.2 and our custom asset search box wich was deployed to the navbar on the top of the page is now displayed on top of the user settings instead of left to it (where it was with the old version of the portal)
The code used succesfully was: $('.navbar-right').after("<ul class='nav navbar-nav' style='padding-top:4px;padding-right:20px'><input id='searchAsset' class='navbar__search--input form-control' type='text' placeholder='Search HW Asset'></ul>");