Questions tagged as 'javascript'

2
answers

JavaScript and Language C accessing the same database

I'm using a Facebook APP (and JavaScript SDK) to use the login on a website, plus I should store some basic information about the user. By requirement of the teacher, this site was all built "using language C" (Mongoose). The problem is: I...
asked by 14.10.2015 / 15:29
1
answer

Execution of jQuery Script

I have a progress bar script, I would like the progress bar fill animation to start as soon as the user scrolls the page to the animated elements. I tried to use $('.progress-bar').scroll(function() { etc... , but every time I use the mous...
asked by 14.01.2017 / 00:18
1
answer

Regular expression REGEX HELP

I have an array on the server in Nodejs, I'm going through html files and need to return the value that is in the middle of the span tag using a regular expression how would it look? { < span class="filteredAds"> de teste< /span>,...
asked by 28.01.2017 / 03:49
1
answer

How to make a dynamic select?

I'm making a restaurant sisteminha, and it's a command. But, like, you have select of food orders, but I wanted to know how I can do when I click on the + sign to show another select under what already has to order the other...
asked by 15.01.2017 / 16:52
3
answers

problem filling out form with capital letters

personal in my site the user when he is going to register in my site the fields where he type text he can type in uppercase and this generates a BUG on my site there in the panel would like to know if there is any validator that does no...
asked by 09.06.2017 / 14:29
1
answer

Can you save / retrieve cached information using javascript / jquery?

Motivation, having an offline application, is it possible to save cached information and be sent as soon as the user accesses the page again? How long would this cache last if possible? and what are the limitations? Ps. is using the html5...
asked by 14.06.2017 / 16:28
2
answers

Clear Modal Bootstrap

How can I clear the modal data, sometimes the user types the data, but does not save, and if it opens the modal again, the data is there, I would like to clear this data, how should I proceed? Sometimes it also happens to save, and when clicking...
asked by 19.06.2017 / 21:56
3
answers

Change class after 3s via javascript

I need to change the class of some elements after 3 seconds that start loading the site, I want to do this but I can not, I was trying to SetTimeout but I can not handle the seconds issue and I did not find a solution via Google. I want t...
asked by 10.10.2017 / 16:13
2
answers

Print all form values in JQuery with the console?

Is there any way to capture all the data selected in the selects and inserted into the inputs of a form? I've tried using $('#form1').serialize(); but I did not get a result, in php I use the global variable $_GET and...
asked by 29.09.2017 / 22:11
2
answers

Counter and calculation in javascript

I need to get a value and divide by the amount entered in the input <h2 class="m-b-0 text-white font-weight-normal" id="valortotal">R$ 4.000,00</h2></div> Get this value and divide by the quantity you enter here: <div...
asked by 21.12.2018 / 20:52