With this example I'm viewing my feeds only with caption, but when I do not put caption nothing appears.
var token = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX',
userid = XXXXXXXXX,
num_photos = 10;
$.ajax({
url: 'https://api.instagram.com/v1/us...
I have the following input
<input type="file" id="imagefiles" name="files[]" multiple accept="image/*" style="display:none;" />
This input receives up to 3 images
I am using javascript to give a post like this 'Imagem': $('#imag...
I'm trying to set up a function to send an ajax, the function should return my ajax result:
var url = localStorage.getItem("site");
var dataForm = new FormData(this);
$.ajax(
{
type: "POST",
url: url ,
data: dataForm ,
contentT...
My code is this:
<?php
$buscarusuario=$pdo->prepare("SELECT * FROM top5 WHERE status = 'ativo' ORDER BY colocacao ASC");
$buscarusuario->execute();
// Exibir com Fetch_Obj
$linha=$buscarusuario->fetchAll(PDO::FETCH_OBJ);
foreach (...
I'm a beginner in JavaScript , AngularJS and jQuery . I have already broken my head here and could not resolve the following solution using JavaScript :
I want to make a list of the sites I've developed, showing their real-time status usi...
I have an application in asp.net mvc 5 where the code below works locally (visual studio 2012), but does not work after posting to the server.
controllerAction = "/Controller/Action/"
controller = "/Controller/"
$('#approve-btn').click(functi...
I have the following form:
@using (Ajax.BeginForm("minhaAction", "meuController", new AjaxOptions()
{
HttpMethod = "POST",
OnFailure = "alert('Erro!')",
OnSuccess = "TrabalharResultado"
}, new { id = "meuForm"...
How do I expect to return an ajax to continue requesting another?
I have the following:
$.ajax({
type: "GET",
url: 'http://uma_url_qualquer.com',
success: function (e) {
v...
I'm doing a project whose pages are loaded into a main container .
All link is an anchor but what is after the hash is really a path. My JavaScript is scheduled to detect hash swap events, so it picks up the path by subtracti...
I have a simple ajax + txt script and I can access the txt data, but I want to select the data of an array in ajax, for example, search only the name or just the age. See the code;
<!DOCTYPE html>
<html>
<head>
&l...