Question:You want to execute a function after the DOM has loaded. This function should bind an event code to be run when the user presses a key on the keyboard inside a text box control with the textBox1 ID. Which steps should you take? (Choose all that apply.) 

A Bind to the keyPress event by using the following code. $("#textBox1").bind("keyPress", ()) 

B Add your event binding code to the $(document).ready() event at the top of your script. 

C Add your event binding code to the $(document).load() event at the top of your script. 

D Bind to the keyPress event by using the following code. $("#textBox1").add("keyPress", ()). 

+ Answer
+ Report
Total Preview: 1166

Copyright © 2024. Powered by Intellect Software Ltd