Questions tagged as 'javascript'

1
answer

D3.js include external image on the third button

This is an excerpt from an index.html of D3.js I have done, my idea is to include an external image and make it appear by clicking the 'btn3' button. In button 1 and 2 I have two graphs that work normally, the problem is to make button 3 display...
asked by 17.10.2017 / 22:38
0
answers

How to fix the error: SyntaxError: JSON Parse error: Unexpected identifier "undefined"

I'm getting the following error when trying to test my function:    SyntaxError: JSON Parse error: Unexpected identifier "undefined" The function is this: function onGetInstanceName(e, args) { rootScope.instance_name = _storage.loca...
asked by 16.10.2017 / 19:00
1
answer

Does anyone have any idea how to create a page with RESTFULL API in Laravel? [closed]

Could someone give me an example of how to do this and JQUERY mount the paging? Even if it's some tutorial. I have already researched in several places and they all say the same thing to create a pagination in the laravel itself and bring in a v...
asked by 16.10.2017 / 18:03
1
answer

Check Box "Check All" does not work for all pages using datatables

Scenario: I'm using DataTables to show a list of cities, and each of them has a checkbox. I also have a "Check All" which, of course, when checked, all cities should be checked as well. Problem: When I mark "Check All", only the cities of th...
asked by 17.10.2017 / 15:06
0
answers

JSON for websocket gives error

I send a JSON to the websocket. JSON and sending is defined like this: var binary = btoa(Uint8ToString(view)); var toSend = { 'fileName': fileName, 'sequence': SendedChunks, 'data': binary.toString() }; var z = JSON.stringify(toSend...
asked by 30.09.2017 / 01:51
0
answers

Inserting Script into Android code to search SearchView

I'm developing an Android application that works with the Maps API, and in it I have a searchView that needs to do the search of the location typed and display on the map. But I do not know how to insert a script (I gave a searched and mostly th...
asked by 30.09.2017 / 02:42
1
answer

Array has values, but its length is zero [closed]

I need to iterate over this array , however, although it is not empty, length of it returns 0 as you can see, does anyone know the reason? Thescenarioisasfollows:I'mgettingJSONdatafromanAPIanditeratingovertheobjectstoputthevalue...
asked by 30.09.2017 / 10:46
1
answer

How do I retrieve versionCode and versionName from an APK?

In a given case, a certain company does not want their app to be released on Google Play. However, the idea would be to create a version control within that company's own system to upload the .apk and write some basic information to a dat...
asked by 30.09.2017 / 19:43
0
answers

success: function ajax call function from another javascript

function paginacao_tabela_clientes_status(idpessoa){ $.ajax ({ type: 'POST', dataType: 'json', url: BASE_URL + '/clients/tabela_clientes_pedido_entregue', data: {idpessoa: idpessoa},...
asked by 30.09.2017 / 08:17
1
answer

Do I need to return the parsing result of the XHR request to the scope of the Class

class AjaxHelper { constructor( service, requestType, bol ) { this._uri = service; this._requestType = requestType; this._async = bol; this._domain = 'https://private-4e803-salarycalculatorapi.apiary-mock.com...
asked by 30.09.2017 / 15:53