I have this html:
Iwouldlikethefollowingtoappearwhentheuserdrags: Whenyoudragagain,disappear...HowcouldIdothiswithJavaScript/jQuery?Followthecode:<divstyle="width: 100%; overflow-x: hidden;">
<div class="item-total"&...
I started developing an HTML5 game using the EaselJS library. When creating a class called Bot , which will contain the code of the robot used in the game, I get the following error:
Uncaught TypeError: Cannot read property 'getContext...
I have three fields, two inputs text and between them a select . If one of the first two is filled in the other becomes mandatory. The problem is that when a single value, in the case the last option, of the select is filled all thr...
Hello.
I created a simple block, using CSS variables .
And to "set" these variables to test criteria, I'm using Dat.GUI .
The current code is on this Pen .
My question is how to improve this code, but specifically on lines 33-50 (the...
Hello,
I'm having problem with a page because it's doing submit even when validation returns false .
$("#botao1").click(function() {
$.ajax({
url : 'adicionadaIdeia',
type : 'POST',
asy...
I need a script that does just that: take the height of div , lease it to the nearest multiple of 24, and apply the result to style="height" of div itself.
It needs to be in pure Javascript, not Jquery.
Follow the struc...
I would like to know if you have any way to manipulate the DOM of another page with my extension.
Ex: I open the popup of the extension and there is a button, and in this button I call a JavaScript function:
var n1 = document.getElementById...
I created an app for Android using App Framework from Intel and did the build with PhoneGap.
It has the visual style of the framework , but when I run it on the Android device, it uses the native, black look.
How do I reverse this?
...