|
|
Quellcode |
<html> <head> <style type="text/css">Hier nichts</style> </head> <body > <div><input type="text" value="Füge diese Seite deinen Lesezeichen zu und gebe CTRL+D ein" style="border-color:transparent; width:380px;" /> <button type="button" id="btnKeyboard">Öffne das Keyboard </button></div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script> $(document).ready(function () { $(this).on('click', "#btnKeyboard", function () { debugger; $('input').prop( "disabled", false ); $('input').focus(); }); });</script> </body> </html> |