Questions tagged as 'ajax'

1
answer

Autocomplete insert the value into two different inputs?

I have this code <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type='text/javascript' src="js/jquery.autocomplete.js"></script> <link rel="stylesheet" type=...
asked by 01.08.2017 / 21:59
1
answer

Searching for data via ajax

I have an API running local with the link address. The number 79 at the end is the id of the user. This API that is in JAVA returns me the following data: { "id": 79, "nome": "Francis", "sobrenome": "", "sexo": "M", "e...
asked by 02.08.2017 / 01:52
1
answer

insert data via javascript

I have a table with the INCLUDE button containing the following code: <td align="center"><input type="button" class="add" onclick="add_row(<?php echo($id_usuario); ?>, 0);" value="INCLUIR"></td> The table.js file co...
asked by 03.08.2017 / 19:50
0
answers

Modal Bootstrap at Laravel

I'm having problems with a modal, when I make a request via ajax to get the contents of my route, modal opens the whole json content, however I can not format this content My View @extends('layout.admin.app') @section('conten...
asked by 22.08.2017 / 00:29
1
answer

Pass value per link

I need to send a value through a link to another page: <li><a href="" onclick="getPasta()" id="icons"><?php echo $this->translate('Download');?></a></li> I tried to use this code for upload: <script typ...
asked by 21.08.2017 / 21:55
1
answer

Doubt ajax to create a JS page

How do I create a javascript page that contains a button that, when I click, it accesses, via ajax, the contents of a txt file that is saved in the same folder as the page in question, and also displays its given inside a div with the id="data"....
asked by 27.07.2017 / 20:55
3
answers

Start function by Onclick

Good afternoon Friends. My question is the following, I have a script that basically reads a .log in real time and shows it on the screen, but the question is that it starts with the DOM, I'd like it to start only from the click of the button...
asked by 27.07.2017 / 19:05
1
answer

Modal does not return updated validation error result when submitting a request $ http ()

{"permission": true, "title": "ALUNO: aDSadaD", "question": "Deseja ativar este Aluno?", "usuario": { "id": "42247", "usuario": "alunoguten3360", "role": "student", "role_formatted": "Aluno", "nome": "aDSadaD", "options_r...
asked by 26.07.2017 / 15:29
1
answer

Unserialize Codeigniter - Ajax data?

Through the obj_form object, I display the database data in the form: //Objeto do formulário function obj_form() { $('[name="id"]').val(obj_permissao.id); $('[name="txt_nome"]').val(obj_permissao.nome); $('[name="txt_descricao...
asked by 20.07.2017 / 21:24
2
answers

Select with checkbox

Well, my question is, would I have an appointment with the mysql bank and play instead of the cities? <html> <head> <title></title> <link href="http://cdn-na.infragistics.com/igniteui/2017.1/latest/css/theme...
asked by 01.08.2017 / 09:46