I have 3 JavaScript variables:
valorUm = 2.8 //dois ponto oito
valorDois = 2.415 //dois mil quatrocentos e 15
valorLivre = 25 //vinte e cinco
What I need is:
valorUm + valorDois - valorLivre
This calculation returns -19.785 and should...
I'm using a TextArea field with TinyMCE for text posting and would like to know if some validation can be added so it does not accept blank values.
I have tried to add required of HTML5 , but when I try to send the...
I am transforming an image that I send by the camera in base64 but the image is all black, I do not know what is wrong, it follows my code below
app.encodeImageUri(mediaFiles[i].fullPath); //Aqui envio o caminho da minha imagem da seguinte man...
I want to display a input based on the option that I choose through a select .
If I select 1 it shows input 1 , if I select 2 it shows 2 but gives hide() no 1 . Currently the code lo...
Good morning friends.
I have the following problem.
I'm developing a variable that contains a list of products.
var produtos = new Array()
produtos[produtos.length]="OUTROS|Catchup|1 sache|10"
produtos[produtos.length]="OUTROS|Mostarda|1 s...
I have the following problem: I need a field to be shown in a solution with a "mask" as if it were hidden. When an event occurs or a click on a button (or on itself) such field is filled with a value and after a time it is shown again with its "...
On a page there is an element that the user can drag with the mouse, I would like to call a function after the user drops this element (when they release the mouse click). How to do this without reference to the element, just recognizing that th...
I have the following in the controller in Ruby on Rails:
def index
@categorias = Categoria.find(:all)
end
In my View I have the following code to get the categories:
<script type="text/javascript">
var teste = <%= @ca...
Well, the code here is from below where:
<html>
<head>
<style>
#main {
border:#333;
border-width:2px;
border-style:solid;
}
</style>
<script type="text/javascript">
var map = Array([0,0,0,0,0,...