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...
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...
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...
I have a code that throws an ID in the HTML for a link:
<a href="javascript:confirmacao(<?php echo $row['idfoto'] ?>)"> <i class="fas fa-trash"></i></a>
In JavaScript I already have the code that calls the file...
Hello,
I'm using ajax to build a table in an application, but when the event is triggered, javascript does not perform html construction, giving the following error:
"Error during serialization or deserialization using JSON JavaScriptSeria...
I'm trying to register a person in my app , but I can not. What's wrong?
Below is index.js , html , API , and class users.php
var api = "http://172.16.22.119/jdbook/api.php";
var identificado = null;
function validar...
When executing a call to the DWR, it returns the following error:
throw 'allowScriptTagRemoting is false.';
throw 'allowScriptTagRemoting is false.';
//#DWR-INSERT
//#DWR-REPLY
//#DWR-START#
(function(){
if(!window.dwr)return;
var dwr=windo...
I made a javascript to mount a card and fill with information from a json, I need to check if there is an image in the indexes of the json array so that if I do not have it I can set a default image, but I can not use if inside apprend to do thi...
I have the following PivotTable and I want to delete the records via AJAX / PHP but I can not.
I tried this way by passing the line id as the button id but it did not work ...
include("dbconn.php");
<script src="jquery.min.224.js"><...
I'm getting the following error, could you help me?
Uncaught TypeError: e.map is not a function
at t.setResources (scheduler.min.js:8)
at scheduler.min.js:8
at scheduler.min.js:8
at cal-init.js:218
at Object.success (cal-init.js:184)
at i (jqu...