I need to create a json document, with the following structure:
[
{
"Name": "Lacy",
"Email": "[email protected]"
},
{
"Name": "Chancellor",
"Email": "[email protected]"
}]
Currently, I have the following arra...
I've been searching the internet but I could not find any references, perhaps because I was searching wrong, so I resorted to creating this post.
I have a query in the database (MySql with PHP) that returns me a list of products with several...
I need to return an insert pass parameter to a page and load it into a specific div , I tried something like this:
var formData = new FormData(this);
$.ajax({
url: formURL,
type: 'POST',
data: formData,
mimeType: "multipa...
I'm using Angular to make a database entry, I get the data from my inputs I put into an object and I transform it into a JSON and I send it by post, but it happens that my JSON is cut and I do not do the minimum idea of why.
var meuJson = ang...
I searched the internet and still did not find a mature enough answer to a problem.
I have an Ajax request and taking errors thrown by the application as a possible connection crash, for example, I do not want to throw an exception if I have...
I am creating a table and need to give the option to sort the table by the field of your choice.
I tried to use the dataTable the data is padded correctly in the table but when I click on a header to sort, filter, or any other function of the da...
My problem refers to the integration with the sky and I've rolled everything, but without success.
I read this post:
Request in Cielo's PHP API using cURL
"I understood" what I said in the post and did so:
<?
//string json contendo...
Hello, I'm a beginner in Angular and I'm finding it very nice, my problem is this:
I have a ng-repeat that works fine when I get the data source of a javascript variable like this:
var alertsq = [
{
"alert":"mediun",
"nt":"28",...
I created a controller and a service. Here are some examples of what's happening:
Controller
eventsApp.controller('EditEventController',
function EditEventController($scope, eventData){
$scope.event = {};
$scope.saveEvent =...
I am trying to complete a connection using Long Polling, where the browser sends a request to the server and is waiting for a response.
To prevent this port from being infinitely open, I created a routine so that every 10 seconds the server send...