Questions tagged as 'javascript'

1
answer

ng-options "selected" does not work

I'm using the ng-options function and it's listing correctly, it just is not showing the value marked as default: selected Code: <select class="form-control" ng-model="genericCustomersViewModel.customer.addresses[0].stateId"...
asked by 21.06.2016 / 14:38
1
answer

fill input with select value in jquery

I'm trying to populate a value dynamically with jquery: In case I want to put the value of the plan value when selected with jquery. Ex: <div class="input-group input-group-lg"> <span class="input-group...
asked by 20.06.2016 / 22:10
1
answer

Request digital certificate and sign a string on a php web site [closed]

I'm developing a web site for my TCC in php , and I'm stuck: My application will need to request a digital certificate, which can be the .cer file or load from the user's repository and sign a string without using Java...
asked by 01.12.2016 / 14:38
1
answer

How to insert counter in table? HTML and Javascript

How do I put the countdown timer on the side of each name that is entered into the table? Since the countdown timer must start from 20 mins to each name entered <head> <script type="text/javascript"> function startTimer(duration,...
asked by 01.12.2016 / 06:28
1
answer

No Repeat Values

I'm using google maps api and I'm kind of a layman in js. My map displayed markers and on each marker I will display an infowindow or an information balloon. The code below is doing this, but is repeating Array values, how do I display the speci...
asked by 25.11.2016 / 13:07
1
answer

How to simulate this PHP function in jQuery?

The below function in PHP will return me an array where the searched word fit, how can I do the same with jQuery? $meuArrayMultidimensional = array(array("campo" => "teste"), array("campo" => "valor qualquer"), array("campo" => "teste...
asked by 24.11.2016 / 23:29
1
answer

Map all divs values and do a math operation

I have the following structure: <div class="product-price"> R$ 140,00 </div> <div class="product-price"> R$ 165,30 </div> <div class="product-price"> R$ 12,55 </div> <div class="product-price"> R$ 25,2...
asked by 25.11.2016 / 14:52
1
answer

Real-time password verification with javascript and html

Good evening I would like a help from what a real-time password verification in javascript and html would look like, I think of two text boxes and a message below that would indicate something like "divergent password" until both fields are f...
asked by 23.06.2016 / 05:29
1
answer

string to object in javascript

I'm getting an object as a parameter, eg "4,5" from a function, but I need to change the comma by one point. Qnd I do this, the object is changed to string, so I need to return that string to object again. I'm trying to get the following code:...
asked by 24.06.2016 / 19:10
1
answer

Date is wrong when converting paid Date in JavaScript

Hello, I have a .NET API that returns the data, the date comes in the format: 2016-06-17T00:00:00 and I try to convert it to date in JavaScript, so I do the following: var data = new Date(2016-06-17T00:00:00); It works, but the date...
asked by 24.06.2016 / 14:38