Questions tagged as 'javascript'

1
answer

Problems with the new version of Meteor because of MongoDB

I just installed the new version of meteor 1.4 and I'm following the Alura tutorial. Everything OK at host installation and startup: 3000 and meteor information appeared. But as soon as I create a folder called "models" and insert a file named "...
asked by 20.10.2016 / 01:04
1
answer

Blur / Focus with Jquey

I'm doing a project that has several inputs, but I can only type in just 2 of them, so I would like my jquery to do a validation so that the user can just enter these fields, something like this: $("#FL1").on('blur', function () { if(camp...
asked by 05.07.2016 / 14:50
1
answer

Centralized responsive menu

I need this menu to be centralized because my whole site is centralized. How to do it? For this menu is all the time aligned to the left. I try to center, but it loses the background. <!DOCTYPE html> <html> <head> <s...
asked by 02.07.2016 / 08:31
1
answer

Filling input masked with zeros

I'm using the link plugin to create mascara in an input field, the mask I'm using is the next. $('.campo').mask('0.0.00.000'); I need that when entering the numbers in my field the value referring to the mask be filled with 0 in the same,...
asked by 05.07.2016 / 15:50
2
answers

Dynamic tanking button

Next, on the page of each post has a button to "favor", how can I check if the post has already been tanned and change the name of the button to, for example, "favorited" and if not, by clicking the button would be done, but all in the backgroun...
asked by 02.07.2016 / 05:03
2
answers

How can I position tree image in html and css?

I would like to position some images on my site so they are in the format of a tree as in the image I have each of the separate circles. I already tried to align them with the table tag but I did not succeed Note: Images must be separated...
asked by 28.06.2016 / 18:34
2
answers

html JavaScript does not accept empty data

Good, I'm having a problem with an html form where I want the data not to be empty for DB. I have JavaScript but it is not working properly. Jsfield: link Code: <form action="NovoCliente.php" method="post" onsubmit="return vali...
asked by 29.06.2016 / 12:14
1
answer

Ajax sends php query in Mysql

Hello friends I'm studying Ajax I'm trying to make this run of code work, but I still can not. I am trying to do after form produtos be selector is sent to consultarcor.php via Ajax the information to query the colors of each selec...
asked by 29.06.2016 / 15:11
1
answer

Make Number Switch In Descending Order

I want to create an automatic counter, which will check what number it is on every second. For this to happen, keep in mind that it should jump from one element <a> to another every second. I am performing tests manually, an...
asked by 29.06.2016 / 16:04
1
answer

Update of Random Divs

In my Script below it is doing an update of a divs pulling from a file tv2.php of so much and I try time ... until then it works, but what I need is that it merge between two files. Example            1 and 1 minute switch content by switchi...
asked by 10.08.2016 / 02:23