script tag

1639 questions


2 answers
95 views
0
I want Chrome to detect right-click events

I am creating a Chrome App, but I would like to do something like right-click the menu like Chrome Dev Editor.What kind of event handling should I do to detect a right click?


3 answers
32 views
0
I want to limit the number of arrays in javascript

There is a program that adds values to the beginning of the array.I want to limit the number to 10, but I don't know how to do it.What should I do?a=[1]a.unshift(2)//[2,1]...a.unshift(10)// [10,9,8,7,...

1 years ago

2 answers
100 views
0
How to get the height in textarea in javascript

Textarea enables scrolling, so if the number of characters is large, the height of the textarea itself and the height of the contents will change.Is there a way to get the height of this content?


1 answers
95 views
0
Want to run JavaScript for Chrome extensions faster than JavaScript in the site

To run JavaScript for Chrome extensions, JavaScript runs faster in the site Is there a way to describe it first?For example, on a site like this, <body><divid=t>test</div><script&...


1 answers
120 views
0
I want to make a mark that can move like a caret in javascript.

↑The image looks like thisjquery/jquery-ui is acceptable.input[type=text] and sample[mark] that informationHow do I retrieve it in the format Sample ?I was able to mark it and drag it, but I can't beh...


2 answers
90 views
0
How to get the height in textarea in javascript

Textarea enables scrolling, so if the number of characters is large, the height of the textarea itself and the height of the contents will change.Is there a way to get the height of this content?


1 answers
124 views
0
I want to make a mark that can move like a caret in javascript.

↑The image looks like thisjquery/jquery-ui is acceptable.input[type=text] and sample[mark] that informationHow do I retrieve it in the format Sample ?I was able to mark it and drag it, but I can't beh...


1 answers
140 views
0
How to use Bluetooth Low Energy (BLE) Central Plugin for Apache Codova

BLE CordovaPlugin (https://github.com/don/cordova-plugin-ble-central/blob/master/README.md)I am trying to develop an iPhone app with Monaca using .Run Environment: iPhone 5s (iOS7)If you set up the pl...


1 answers
95 views
0
How to use Bluetooth Low Energy (BLE) Central Plugin for Apache Codova

BLE CordovaPlugin (https://github.com/don/cordova-plugin-ble-central/blob/master/README.md)I am trying to develop an iPhone app with Monaca using .Run Environment: iPhone 5s (iOS7)If you set up the pl...


1 answers
58 views
0
What happens if I write this jQuery code with native javascript?

$.ajax({ url: '/ajax/', type: 'get', async —false, success:function(d){ console.log(d); },});

1 years ago
« - 36 - »

© 2024 OneMinuteCode. All rights reserved.