Questions tagged as 'javascript'

1
answer

Price Search / jQuery / JavaScript

I want to compare the product and the city of the table. Clicking on the  price I get the product and the city in my panel, until then ok! only that  I wanted it to click on another product to compare it  below the first comparison I made?...
asked by 06.05.2016 / 14:30
1
answer

How to execute a javascript code from the url of the site [closed]

Hello, is everything good? I was wondering if anyone can help me with something on my series site. It does not have pages, or posts, that is: everything is done from the homepage. To open a series, I use the code: Abrir_Serie('exemplocod...
asked by 30.04.2016 / 22:25
1
answer

Hide a javascript mask

Does anyone know how to hide the mask's (javascript) for example in my site is: Name: _ _ _ _ _ _ _ _ _ _ _ _ and I wanted to hide the "_". <script src="ajax.googleapis.com/ajax/libs/jquery/1.12.0/…; <script src="cdnjs.cloudflare.c...
asked by 04.04.2016 / 16:18
1
answer

Zoom to the selected image thumbnail in the Input file

Hello, I'm using the zoom elevate plugin to zoom in thumbnails and I'm generating the thumbnails in an input file field to display the images that the client chose to upload. I would like to take advantage of the code below to apply the zoome...
asked by 05.04.2016 / 13:59
1
answer

Compare result of a function

I'm a beginner in JS. The script below will calculate the points of two teams, which will be informed through the prompt (yes, it's annoying, but it's for testing). I created (or tried) a function to always do the accounts, regardless of the...
asked by 30.03.2016 / 17:47
1
answer

Error: Can not read property 'each' of undefined [closed]

I have a JavaScript code that returns values from a PHP and assembles an HTML table. You are giving the error Can not read property 'each' of undefined . I've looked several times to no avail. Could you give me a hand? Here is the code: Jav...
asked by 31.03.2016 / 21:39
3
answers

print json on the pure javascript screen

I have this json structure: "[{ "nome":["fulano 1","fulano 2","fulano 3","fulano 4"], "site":["sitefulano1.html","sitefulano2.html.html","sitefulano3.html","sitefulano2.html"]}]" Gero it this way with php and pdo mysql: <?php $valorV1...
asked by 03.04.2016 / 20:45
2
answers

Validating select with jquery.validate

I am creating a form for registration where there are some selects, such as course choice and date of birth, I would like to know how do I make it mandatory for the user to select something using this library jquery.validate <select...
asked by 22.03.2016 / 14:47
2
answers

Creating masks with javascript

I need to create masks for a inputs that I have in the code, and I had already asked about it, but I think the post was outdated and then "forgotten". However what I had gotten with that post was: HTML: Within <HEAD> :...
asked by 24.03.2016 / 03:01
1
answer

Input Subtraction System With Javascript [duplicate]

I have a subtraction system via input only the following is happening for example if the value is 30 and I want to subtract 29.50 instead of 0.50 it appears 0.5 does not appear 0 at the end, and also if it is 29.60 and I want to subtract 29.50...
asked by 23.03.2016 / 16:08