[英]Find OnKeyPress JavaScript in Chrome Inspector
I have the following HTML code that doesn't have OnKeyPress
, OnKeyUp
, OnKeyDown
property hence JavaScript is handling the HTML element, in the site https://dev.ther8server.com (Please excuse the self signed SSL) how can I find which property is managing the operations of autocomplete function for the textbox keywords
and how to find which property is responsible for this operation in Chrome Ispector? 我有以下没有
OnKeyPress
, OnKeyUp
, OnKeyDown
属性的HTML代码,因此JavaScript正在处理HTML元素,请访问以下网址:https://dev.ther8server.com (请原谅自签名SSL)如何查找属性正在管理textbox keywords
的自动完成功能的操作,以及如何在Chrome Ispector中查找哪个属性负责此操作?
HTML code HTML代码
<input type="text" id="keywords" onfocus="this.value='';" value="Brisbane, Queensland, Australia" name="keywords" brisbane,="" queensland,="" australia="" class="ui-autocomplete-input" autocomplete="off">
Sorry can't attached JavaScript cause I am not sure which JavaScript is responsible and site is calling many external JavaScript files. 抱歉,无法附加JavaScript,因为我不确定是由哪个JavaScript负责的,并且网站正在调用许多外部JavaScript文件。
Screenshot: 截图:
Its in https://dev.ther8server.com/assets/js/main.js 它在https://dev.ther8server.com/assets/js/main.js中
Search for: $("input#keywords").bind("keydown",function(e) 搜索:$(“ input#keywords”)。bind(“ keydown”,function(e)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.