beatovich: HTML Input (Autofocus) mit value. Focus an das ENDE des Input Feldes

Beitrag lesen

hallo

Hallo,

danke für den Hinweis, leider ebenfalls ohne Änderung:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js" />

<script>
//usage
moveCursorToEnd($('input'));

ist zu diesem Zeitpunkt das Element bereits im DOM?

... <input type="search" class="form-control form-control-lg" name="s" value="Katastrophe" id="search" />