Questions tagged as 'ajax'

0
answers

How to send canvas using ajax

I wanted to send a canvas that I have in one html to another using canvas, the ajax code is this: function ajax(){ var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && th...
asked by 19.09.2018 / 10:43
3
answers

When sending form by Ajax I recharged the page

my problem is that I have a page with several form to which I intend to make ajax requests so that it does not recharge the page, but I recharged it and I do not know what the reason is, I have investigated and tried in several ways, but...
asked by 25.09.2018 / 03:48
1
answer

Embed combobox with data from the base in ajax

Hello good morning I have an ajax that what it does is load questions in an accordion I have a field which is an input text that I write some data in the database and it sends me the info according to whether it is embedded but now what I want t...
asked by 20.09.2018 / 15:56
1
answer

change style using JavaScript

good day, I have a design and I want to fit the styles from my database. I am learning now and I do not know how to accommodate the js so that I can make the change for example, I have the color # e81863 in the style and I want it to be the one...
asked by 18.09.2018 / 19:49
0
answers

Laravel Validate Form via Ajax, using the FormRequest class

Hello the case is the following, I managed to validate a simple form using the Validator library, now my question is how it would be using a "request" that extends from the class FormRequest . Here I share both the frontend and backend code....
asked by 15.09.2018 / 00:11
0
answers

Hide results minus the selected SELECT

Good the other day a colleague from here helped me to show in a select the references that there are of a product in a select and those available and those that came from other references to hide them. (This is editing a record) All this is w...
asked by 18.09.2018 / 09:02
0
answers

Using $ _session with jquery ajax

I am trying to hide a php using $_SESSION but it seems that it does not pass the first file. Here I show my files: ajax.php $('.button').click(function(){ var value = $('#valor').val() $.ajax({ type: "POST",...
asked by 19.09.2018 / 16:32
1
answer

Error jQuery and Ajax, returns [object Object] of a SQL query

I have an error, and PHP does not return the query sql well. This is what I do: $(document).on('click', '.editarCliente', function () { var idc = $(this).attr("id"); console.log(idc); $.ajax({ type: 'POST', url: 'php/edit...
asked by 17.09.2018 / 21:35
1
answer

problem when accessing data property of a get request in axios gives me error

I am making a request get with axios the problem is that when reading the property of the json I get undefined, I'm using php slim on the server as api, on the client side is a mobile app with nativescript-vue I leave the code to see what the er...
asked by 12.09.2018 / 22:54
0
answers

Robobrowser to login in a form

I'm trying to login in a web form: from robobrowser import RoboBrowser s = requests.Session() browser = RoboBrowser(session=s, history=True, parser='html.parser') browser.open('https://www.miweb.com/') print(str(browser.parsed)) form = brows...
asked by 13.09.2018 / 10:17