Javascript böyle bir şey yapabiliyor mu ? Ufak bir arama butonu gibi bir şey sadece... (sorunsuz çalışan)
Follow along with the video below to see how to install our site as a web app on your home screen.
Not: This feature may not be available in some browsers.
<input type="text" id="txtSearch" />
<input type="button" id="btnSearch" value="Search" onclick="doSomething();" />
$("#id_of_textbox").keyup(function(event) {
if (event.keyCode === 13) {
$("#id_of_button").click();
}
});
$("#pw").keyup(function(event) {
if (event.keyCode === 13) {
$("#myButton").click();
}
});
$("#myButton").click(function() {
alert("Button code executed.");
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
Username:<input id="username" type="text"><br>
Password: <input id="pw" type="password"><br>
<button id="myButton">Submit</button>
Kafama xss yeme şansım var mı ? :trl
yani bunlarda açık olabilir mi ?
Xss yersen value kodunu kısarsın düşürürsün veya mixnume=10 5 arası