Questions tagged as 'javascript'

1
answer

how do I upload a file in php by doing a replace of the existing file?

I need to upload a file but this file will have the same name only with different content, I have the code below that does this file upload only when I put a different file with the same name it does not replace it could anyone see what I'm doin...
asked by 09.05.2016 / 17:32
1
answer

Capture Coordinates by GET in api Google Maps

In this script I just need javascript to get the coordinates via get //Algo parecido.... $lato = $_GET['lato']; $longo = $_GET['longo']; $lato = $_GET['latd']; $longd = $_GET['longd']; <script> var origem = { lat:...
asked by 10.05.2016 / 23:20
1
answer

How to put two ng-repeat in the same view, Ionic / AngularJs?

I have to list two types of interconnected arrays in the same view. But I can not list. EDIT: BEST EXPLANATION I have four tables: evaluation, user_app, item_questions, cadastra_oferta In the first array: $ scope.avaliacoes...
asked by 15.04.2017 / 19:43
1
answer

Error returning jquery

I'm using php + jquery return is a string of type [["local","pressão instantânea"],["Campo Grande",1010.6],["Campo Grande",1011.1],["Campo Grande",1010.2]] Being that in return comes strange metadata. I've read something about CDATA. But...
asked by 12.12.2015 / 23:00
1
answer

How to get every day of a month using Javascript?

How to implement an algorithm that lists every day of a given month using Javascript? I have a combobox with the months and I need to use this combo of days according to the selected month.     
asked by 17.12.2015 / 17:21
1
answer

Frameworks for use of ASP.NET MVC masks

In case of fields with masks (CNPJ, for example) and / or date, which framework framework would be more recommended? Javascript or; jQuery or; Kendo or; AngularJs or; I do not know what else. I do not know if I was able to be ve...
asked by 26.12.2015 / 01:54
1
answer

How to interpret binary content, .dat?

I need to interpret .dat files, for example. I suppose this is the content of it: ³Å¸ÎÔ| , being equivalent to "Davis" as a text. In JavaScript, using XMLHttpRequest to a .dat file should respond with the text "Davis", bu...
asked by 07.03.2016 / 00:47
2
answers

jQuery function called by two distinct elements at once

I have the following code: <table> [...] <tr class=""> <td class="col-md-2"> 10.1 </td> <td class="col-md-8"> Teste </td> <td class="col-md-1"> 1...
asked by 03.03.2016 / 14:34
2
answers

mascara accepting numbers and, with jQuery Mask Plugin

Galera wanted to know how to create a mask in the jQuery Mask Plugin so that the input accepts only numbers and commas. To accept just number I'm doing this: $('#valor').mask('#', { reverse: true });     
asked by 27.02.2016 / 13:43
2
answers

How to remove this line break?

I have a page that uses a text editor of type 'wysiwyg' which in the case is a textarea element, this generates an html text pro code that the user type, I save the value of this field in the onblur of the same through a ajax that does save in S...
asked by 09.01.2016 / 20:02