Questions tagged as 'javascript'

1
answer

Problem with decimal places

I have this code in javascript that adds values to the checkboxes, for some reason it only adds the first value, for example, the value is 1.75 it adds only 1.00, that's the code. <script type="text/javascript"> var containers...
asked by 05.03.2016 / 22:21
1
answer

submit link with javascript when selecting checkbox

I have a checkbox, and I need the javascript to send the link according to the selected checkbox. Example html: <input type='checkbox' id='1'> <input type='checkbox' id='2'> <input type='checkbox' id='3'> Javascript...
asked by 05.03.2016 / 14:31
1
answer

Message appears in modal and page at the same time

I created a "message center" in Angularjs that injects messages on the screen. The message always appears when an error occurs in the REST or success operations. This is done by an interceptor that checks whether the response has a message heade...
asked by 04.03.2016 / 13:05
2
answers

Firefox is not running the Jquery .css () method, how to fix it? [closed]

I am using this script a>, in that code snippet <head> <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet" /> <script src="https://ajax.googleapis.com/ajax/libs/jque...
asked by 04.03.2016 / 20:26
1
answer

With breaking a base64 string and assigning input fields

I have a very large base64 string and need to break there in multiplus up to 20 thousand characters not to errors when sending it via hidden field. Each broken piece will be sent in separate inputs and can not create the input via javascript, I...
asked by 04.03.2016 / 15:59
1
answer

Overwrite asynchronous variable

I need to have control of the number of concurrent asynchronous calls from ajax, but I can not overwrite the control variable that holds the number of calls. Every time an asynchronous call is launched it uses the value of the first call ( a cop...
asked by 03.03.2016 / 18:36
1
answer

When the time reaches 0, the button becomes disabled

Good is the following I have two files. First File (index.php): <!DOCTYPE html> <html> <head> <title>Teste</title> <script src="http://code.jquery.com/jquery-2.2.0.min.js"></script><s...
asked by 04.03.2016 / 23:55
2
answers

How to make an automatic transition between divs in JQUery?

I want to make an automatic transition between divs. Example: div1 - show(); div2 - hide(); .... 3000milisegundoss ... div1 - hide(); div2 - show(); And stay in this transition ... I'm trying to do t...
asked by 24.02.2016 / 17:09
1
answer

How to receive the selected item from a combo box and use on another select?

Good morning Programmers .. I need a favor, next I have a combobox that is generated through a select until then everything ok .. I need to receive this item selected by the user and save the information because in the next combobox I use this i...
asked by 10.05.2016 / 16:16
1
answer

Modify code to avoid an XMLHttpRequest with $ .getJSON

I'm developing an application here, and I use a JSON object for popular, but when I use $.getJSON() Chrome gives the following error: XMLHttpRequest can not load file: /// C: /Users/JeanCarlos/Documents/GitHub/NetworkDiagram/Applicati...
asked by 24.02.2016 / 17:31