I have a student enrollment form. It's all ready, the only thing I'm having difficulties is to return the value of a checkbox, which in the register refers to whether the student is active or not.
In the form it looks like this:
<label&g...
I have a registration page and I wanted my form to be sent to the page so it did not update and open% hidden%.
With script below does not let my page update, but it also does not send my form to the database:
<script>...
I need to pass a variable inside an array of items, a parameter that only accepts string, but when I pass a variable the API does not accept, it says the parameter is incorrect.
Better explaining:
var userstocreate = [
{
username: 'a...
Talk about it!
It is as follows, I have a dynamic page where the elements of the selects are loaded via Ajax according to the elements previously selected in other selects, for example, when you select the City in a select and the town combo l...
I have a system where the administrator can approve or disapprove the user, everything is ready, but I want to know how to do this process with ajax, so that every time I approve or disapprove a user the page does not give refresh .
App...
Good afternoon friends, I'm making a website that the person does the registration in my form and I, using AJAX, play the data in the bank.
I wanted to know how to save this image that the person put in the form in some variable, so that my up...
I'm trying to get a response from my API like JSONP but it's not right.
Ajax code is this:
$.ajax({
type: 'GET',
url: url,
async: false,
contentType: "application/json",
dataType: 'js...
Is it possible to update the contents of a DIV? I have a DIV in which I get data present in the browser cookies and I make a foreach for listing the items of the cookies showing them to the user. On that same page I have a button that when I c...
How can I call a control file from an http (get) request
$http({
method: 'GET',
url: 'dashboard.do'
}).then(function successCallback(response) {
// this callback will be called...