Questions tagged as 'javascript'

1
answer

Form in steps, how to ignore some input and move on ?!

I have the code ready, but it only allows me to advance the step if all the inputs are filled, how could it be done to ignore some inputs and move on? Follow the code var currentTab = 0; // Current tab is set to be the first tab (0) sh...
asked by 18.10.2018 / 19:11
3
answers

Add class and link in a LI tag

I have a simple question. I have a slide rolling in the site and his arrows are: <li><a class="flex-next" href="#">next</a></li> <li><a class="flex-back" href="#">back</a></li> I need to add...
asked by 19.10.2018 / 00:56
1
answer

Shopping cart (checkout) keeping only the last value

All right? I'm working on a project with Laravel PHP framework for backend and jQuery for the front end. I'm setting up a football stadium ticket checkout for a system I'm developing. I almost have all the checkout ready, however, what hap...
asked by 13.10.2018 / 01:47
1
answer

Extract RGB image values

I am having difficulty extracting RGB values from an image, I can only if the image URL is in base64, I tried to use some functions here from the OS but without success. The example below is working perfectly, but you have to convert the URL...
asked by 16.11.2018 / 07:48
1
answer

Return from a simple javascript function not working

I have the following code snippet that makes a call to the findCustomers(term, isNumber)); if(isSequenceNumber(term) && term.length >= 6){ var data = findCustomers(term, true); console.log(data); response(data); }...
asked by 29.11.2018 / 17:08
1
answer

How to get data from an observable firebase?

I have a list that loads from the firebase. This list has 3 attributes, value, id, and date. But I'm going to need to capture just one of these attributes and mount an array with them, so I can do a math calculation, so I need to extract the pro...
asked by 05.11.2018 / 03:22
1
answer

Combo Select does not work

I need the second <select> to receive the data according to the choice of the first one. The <option> appears in the first <select> , but in the second it does not move. I have a textdata folder wi...
asked by 06.11.2018 / 18:16
1
answer

Hide information with javascript [DUVIDA] [closed]

I'm creating a simple HTML page and I split the page in two vertically, so In the part that is in blue would the logo and the info of the tool (I have not done yet). When I click the buttons it shows the information, and changing it as the...
asked by 04.11.2018 / 18:04
3
answers

Keywords with Jquery

I would like to do something like: Foreverywordtheusertypes,itlooksliketheimageabove.TheclosestIcouldgetwastoknowthenumberofwordshetyped,followthecodebelow: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">...
asked by 05.11.2018 / 19:37
1
answer

Validation javascript field with Split

I need to do a javascript validation, which picks up how many are filled, the mask is this way: 000,000,000,000 etc. in case it should get 4, because it is the sequence of 4, each 000 one account, the user will fill type: 030,050,060 etc. to com...
asked by 06.11.2018 / 19:28