javascript - How to enable the keyboard event for a html div? -


मेरे कोड में एक ऐसी div है:

  & lt; div style = "text -निरचना: रेखांकित "onmouseover =" this.style.cursor = 'सूचक'; " Id = "& lt;% = namespace% & gt; _pmProfileName_ & lt;% = i% & gt; _" onclick = "perfChartConfig_ & lt;% = नामस्थान% & gt;। शो ShowProfilesForElement (this);" & gt; & lt; / div & gt;   

अब इस लिंक पर क्लिक करने से एक नई पॉपअप विंडो खुल जाएगी। लेकिन यह बात केवल माउस क्लिक करके ही किया जा सकता है। मुझे यह भी प्रविष्ट करें बटन दबाकर करना है।

कोई भी विचार यह कैसे करें?

jQuery की तरह एक जावास्क्रिप्ट फ़्रेमवर्क का उपयोग करें, और इसका सुबूत-दस्तावेज का उपयोग करें।

Comments

Popular posts from this blog

php - Creating canonical URLs with custom route-classes -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -

Mysql Local server hardware -