I'm new to APIs and I'm not able to implement a callback to add the elements of an array, ie make a post. I have a submit button that when clicked should read the array and add all the notes to the corresponding students. I have the array studen...
I am attempting to perform the deletion and an item, so in controller I send a code to view 0 or 1 , but the JS function responsible for dealing this return is always falling in fail with the following error.
error...
I have the submit button that should submit the grade to a student class.
But when I click the button, it only submits the note to the last student in the list.
The list of students and the list of grades are stored in the students array and arr...
I have the following JS script:
jQuery(document).ready(function($) {
$("#idSelect").change(function(event) {
var valor = $(this).val();
//alert(valor);
$.post( "ajaxSerie.php", { valorInput: valor }, function( data ) {...
I'm having trouble running the below task with gulp in version 4.0.
The problem occurs when I'm trying to run dependencies.
Would anyone know why?
const gulp = require("gulp"),
imagemin = require("gulp-imagemin"),
clean = r...
I want to get the output of JSON from the page select.php and put each line in a <div id="estabelecimento"> with its attributes, I'm doing the following:
$.getJSON('select.php', function(data) {
$.e...
I am making an application in PHP that by selecting a given the combobox regarding the vessel and a date field, do a SELECT in the bank returning some data that is entered in a table.
I would like the user to select the boat (1) and by...
I'm trying to make a request from the Clash Royale API ( link )
Returns the following error:
Access to fetch at 'https://api.clashroyale.com/v1/players/%23C8Q2QR08' from origin 'https://deckroyale.now.sh' has been blocked by CORS policy: Re...