简体   繁体   中英

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?

HTML code

<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.

Screenshot:

在此处输入图片说明

Its in https://dev.ther8server.com/assets/js/main.js

Search for: $("input#keywords").bind("keydown",function(e)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM