Answers

Question and Answer:

  Home  JQuery Programmer

⟩ How do you select element by ID in jQuery?

To select element use ID selector. We need to prefix the id with "#" (hash symbol). For example, to select element with ID "txtName", then syntax would be,

$('#txtName')

 237 views

More Questions for you: