Friday, July 29, 2022

JQuery button with function with HTML button set value by button ID

 <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js">

    $(function(){
        $("#input1").val("Hello world");
    });
</script>
<input type="text" id="input1" />

</script>

No comments:

Post a Comment