Questions tagged as 'ajax'

1
answer

evaluate div value assigned in php

My problem is as follows. When trying to evaluate the value of a div assigned by PHP with ajax , I can not evaluate the string EMPTY "" as true. Here is a simple example of my problem. messageAjax belongs to a div tag. <script type="...
asked by 19.12.2018 / 23:40
1
answer

How to send a json_encode array from PHP to JS by parameter

Hello to all the developers. I have a query ... EHH, I'm doing a practice of a CRUD .. and I have the functionality to add and remove completed .. now I need to place the user's data in a specific modal .. I'm trying to place the return of query...
asked by 29.10.2017 / 17:25
1
answer

ajax + rails send ajax data to controller

I have the following code: $(document).ready(function(){ $('#score').on('click',function () { alert("hola"); var score=4; console.log("dentro de click"); $.ajax({ type: "POST",...
asked by 04.09.2018 / 14:50
0
answers

I do not upload image when uploading it to the server

I've been trying to make a code to upload an image to the server folder and the path appears in the database, until now I'm just looking at the variables of name, category and that, but only me load the gif and I do not get the information. T...
asked by 21.12.2018 / 17:30
1
answer

laravel command to run a blade

hello I want to create a command in laravel that runs once a week to call me a blade, that has a script and that combines ajax and php which generates some images I already have the command as php artisan img :: images <?php namesp...
asked by 05.03.2018 / 16:41
2
answers

validate text field with mask in laravel

I want to validate some fields of a form, by axis: the text field that has the following mask: 000-0000000-0     
asked by 14.03.2017 / 05:16
1
answer

Search filter

Good, I have a kind of problem, when I try to filter the users, in itself, it gives me two errors both related to paging. The first is that when we change pages the fields are sent empty, so when changing the page, all the user's data is re...
asked by 25.07.2017 / 04:54
1
answer

How do I get a file in JS and send it to ASP.net

Good day. I'm working with C # and ASP.Net on the server side and with JS and html on the client side. I have a form similar to this <form id='frmForm'> <label>Subir Archivo</label> <input type ='file' id='file' /> &...
asked by 17.12.2016 / 22:56
1
answer

jsonp does not work with ionic

How about, I've been working on ionic jsonp for about 5 days and the case is that with angularjs it works and with jquery too but when I use jsonp with ionic I can not make it work and it always returns error, here I share my code app.js //...
asked by 18.12.2016 / 18:52