Questions tagged as 'javascript'

1
answer

I can not increment my variable without resetting the code

I'm doing a guessing game in JavaScript where the user has three attempts to guess a random number between 1 and 10, but during the test, whenever I fail the first try, I increment the tentative variable, but the code finishes rolling. What am I...
asked by 20.04.2017 / 20:43
1
answer

Validation Bug with javascript

I have a registration page request, where if the user select the "no" checkbox, it means that the order is for delivery if he selects "yes", he comes to take the product in the store. However, a bug occurs if the user fills in all the delivery d...
asked by 20.04.2017 / 22:24
1
answer

I can not get it to print everything together as a vector, it gets all separated

                      P1-2017-RAD I                                                                                                                        <table> <tr> <th>Veculos</th> </tr&...
asked by 20.04.2017 / 21:45
1
answer

Get select multiple values

I'm trying to pass the values of a select multiple pro PHP. I already searched for examples on the internet (my code is just like the examples I saw), but the "echo" command does not show me anything. Can you help me ? Thank you. $funcao = $_P...
asked by 11.04.2017 / 20:18
1
answer

Form text in $ ('span.text'). text ();

I would like to format text in the following line: $('span.texto').text('Enviamos um email para email@email'); I would like you to stay: We send an email to email @ email I tried $('span.texto').text('Enviamos um email para <b&...
asked by 18.05.2017 / 23:45
1
answer

Carousel that passes one image at a time and with thumbnails underneath

IfoundanexampleandwastryingtomodifytowhatIneed.IneedtheimagedisplayedonthecarouselandthethumbnailstobelargerthantheexampleIfound,butwhenItrytomodifythecarouselimagetogetbiggeroneimageoverlapstheother.HTML    <title>FeaturedContentSlider&l...
asked by 19.05.2017 / 00:34
1
answer

How to perform multiple input calculation with jQuery

Well, I've built a jQuery calculation system well, where I can tell you the cost of a product. When informing the sale value the system performs the margin calculation, if I inform the margin the system calculates the sales value. All this ba...
asked by 12.04.2017 / 20:35
1
answer

Pass variable to html page with NodeJS

I made a listing of files that exist in a particular folder, I would like that after listing, it would be possible to access this variable in HTML. Server.js var http = require('http'); var arquivo = require('fs'); var server = http.c...
asked by 18.04.2017 / 18:37
1
answer

form walking horizontally does not work

I have a form that initially is display none and negative margin, I wanted that when the button was clicked it gave the impression that the div was dragged such as that of this website, the side menu, link . I basically made a while while th...
asked by 18.04.2017 / 16:22
4
answers

How do I make an input not accept a blank entry?

<head> <title>WEB VIDEO AULAS</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="https://ajax.googleapis.com/ajax/libs/jquery...
asked by 19.04.2017 / 06:30