Questions tagged as 'javascript'

2
answers

Javascript Code Error [duplicate]

Well, I have the following code in javascript: < script type = "text/javascript" > function teste() { var date1 = document.getElementById("data"); var date2 = document.getElementById("data2"); var timeDiff = Mat...
asked by 19.09.2015 / 14:08
1
answer

Is it possible to change the value of a parameter in a querystring in javascript?

For example I have this querystring www.meusite.com.br?parametro=1 . I would like to change value 1 to another value when a certain function is called, without having to load the page again (if possible).     
asked by 18.09.2015 / 22:11
2
answers

Form for HTML file Node.js

Hello! I want a help here: I want when someone writes something in an HTML form, with node.js , I can save this information in a text file with createFile. I do not know much about javascript, please help: /     
asked by 18.09.2015 / 22:07
1
answer

jQuery does not add "+"

I'm doing a shopping cart with jQuery . The cart works like this: It has the products and all the values of each one. There is a field that changes the quantity. There is also another field of freight. After adding all the products it give...
asked by 18.09.2015 / 21:06
1
answer

I'm trying to change the property value of an object with ng-click:

When I click the button, I want to change the value of the addButton property within the variable gens to true . Can anyone help me? Follow the example in Codepen .     
asked by 17.09.2015 / 00:11
2
answers

Reverse order of names in inputs?

I'm trying to do an exercise where I have to get 5 names in 5 different input, store them in an array and print them in the same fields but in the reverse order they were. function inverteNomes(){ var nome1 = document.getElementById("txtN...
asked by 01.09.2015 / 03:36
1
answer

How to check elements in hover?

I have a list of elements belonging to a gallery, where the elements outside the hover will have a new class. The problem occurs when the hover occurs directly from one element to another and does not add the class to the new element in hover....
asked by 31.08.2015 / 20:59
2
answers

Update sql No Reload with a click on the Link

I would like that in the script below when we clicked the link it did the update in sql without the reload. it was made to perform through a submit in one more I would like it to be through a link even more I did not do. how can I do this? &...
asked by 17.10.2015 / 21:32
1
answer

Show "Wait ..." message while the page loads completely - jQuery MVC

I have a view that loads a DataTable.Net , where I need to display a PopUp with the message " Aguarde... " . PopUp opens when the page loads, but how do I close it? The way I did, PopUp does not close, what's wrong? Is there any...
asked by 17.10.2015 / 14:46
1
answer

new Date () with no time zone

I have to send a date javascript to my controller via FullCalendar . In my action, I'm getting a DateTime and I need to send through the javascript file with new Date(minha_variavel) . But when I do this, it comes with...
asked by 21.08.2015 / 16:38