I am creating a text box where the user will enter some input in my Google chrome extension popup.
<div align="center">
<input type="text" id="textbox" size="25" s开发者_如何学编程tyle="height:30px;font-size:14pt;"/>
<br>
<script>document.getElementById('textbox').focus()</script>
</div>
But, to my surprise, when I right click inside the displayed textbox, no menu shows up!
How can I enable the context menu?
Context menus are disabled in popups. You can star this issue.
精彩评论