Questions tagged as 'javascript'

0
answers

Javascript does not return results

I made a javaScript script to send data to a php file, the data is sent correctly, then it is processed in php to be used again in javascript, however I can not access the return of this data, javascript does not generate the div that I put or s...
asked by 18.10.2018 / 15:32
1
answer

How to create divs inside javaScript and use Json

I'm trying to create and fill in several html cards according to the Json return I have from a PHP file, I have Javascript that takes the Json array, my question is how do I create multiple cards within that javascript? Javascript $(functi...
asked by 18.10.2018 / 05:22
1
answer

Creating a product registration with javascript

I'm not able to register a book in an app I'm creating, is this validation with ajax correct? <b>var cadastrado = null;</b> <b> function ValidarLivro (){ var nome = $("#nomelivro").val(); var descricao = $("#descric...
asked by 18.10.2018 / 00:49
1
answer

ng-change with dynamic object

Good morning, I'm using angle 2 and I'm having trouble using the 'ng-change' property after I dynamically generate the object below: <input type=text class="insert" id="input' + data.id + '" ng-model="input" ng-change="myFunction()" maxle...
asked by 18.10.2018 / 14:55
0
answers

Pause live streaming requests with videojs

I'm using videojs to play live streams in my application. The problem I realized is that even when the transmission is paused it is generating request and downloading data. I researched the documentation and git of the project, but fou...
asked by 18.10.2018 / 15:33
0
answers

Color problems in Google Charts Bar

I can not generate different colors in google charts bars. The data is coming from a data.addRows([[${golLog}]]); variable and I noticed that inside that variable there is an array. It looks like it throws only the first color for the two...
asked by 18.10.2018 / 17:55
1
answer

How to block retroactive dates in input datetime?

I have a form with input of type datetime-local and I need to block the insertion of retroactive dates, how do I do this? <form name="F1" id="edit-profile" class="form-horizontal" action="" method="post" enctype="multipart/for...
asked by 18.10.2018 / 16:12
0
answers

What does callback.call mean in jQuery?

I searched everywhere but did not find an exact definition. Here's my function and the excerpt from my HTML where DropDownList is created: function carregaSubCategoria(valor) { $.ajax({ url: '/parceiros/subcategoria/lists-subcat...
asked by 18.10.2018 / 18:34
0
answers

Datatables translation and pagination

This page has datatables Followthecode:vartable=$('#js-table-lista-chamados').DataTable({"sDom": '<"search-box"r>ltip', "lengthChange": false, "language": { "sEmptyTable": "Nenhum registro encontrado", "sInfo": "Mo...
asked by 18.10.2018 / 16:07
0
answers

Save checkboxes marking

I need a solution in the code below: When checking one or more checkboxes I need to save the selected ones and also keep the ones that are already saved / marked; What is happening at the moment that when checking a checkbox, the ones that are a...
asked by 23.10.2018 / 16:39