Questions tagged as 'jquery'

1
answer

Saved Select shows inputs via ID

I have a SELECT that opens certain INPUTS. FUNCTION PICKING THE SELECT ID AND OPEN THE INPUTS. //Mostra div dos inputs do ipi $('#selectProduto').change(function() { if ($('#selectProduto').val() == '1') { $('#nome_produto...
asked by 24.07.2017 / 00:15
1
answer

How to parse javascript error in Firefox DEV response

Using firefox dev, there is the console (ctrl + shift + k), and within that console there are answers, PHP error responses are simple, or when a variable is passed empty, but however, when it is an error of syntax in javascript, the message is a...
asked by 27.07.2017 / 21:53
2
answers

Jquery load div auto scroll

How to make scoll high when loading page? I'm trying to do this, but to no avail! File: messaging.php $('.chatUsuariosLista').click(function() { idUsuario = this.id; $("#chatMsg").load('inc_chatMensagens.php?de='+...
asked by 28.07.2017 / 04:41
1
answer

Save file sent in Ajax in the backend node

Hello I have a backend on node and I'm getting this ajax request var arquivo = $("#assinatura"); arquivo.on('change', function (event) { if (arquivo[0].files.length == 0) return false; var data = new FormData(); data.append('assinatura'...
asked by 20.07.2017 / 00:42
1
answer

Refresh in attr date to show on popover bootstrap

I have a table that has a td with the following code: .append($("<td class='popOverStatusAlmo' data-container='body' data-toggle='popover' data-placement='top' data-content='" + this.StatusAlmoxarifado + "' style='color:red'&g...
asked by 16.08.2017 / 15:13
1
answer

How to load this data created in an edit screen

Next, I have this registration screen where clicking the "+" button will add text type inputs (according to the attached code) My problem is that this creation is dynamic, the person can add either 1, when 2,3,4..or it's N. I'm going to save thi...
asked by 12.07.2017 / 16:37
0
answers

Accent error when exporting bank data in xlxs with javascript

I am maintaining a code that reads data from a MYSQL database and via PHP transforms it into a table and with JQuery it exports it with Excel document. However the accent is all wrong for example: Ãチrea de Atuação Número The code I use...
asked by 07.07.2017 / 14:40
0
answers

Create list of objects with JavaScript

I need to create a list of categories in HTML and Javascript. For example: I have an input, which will be where the user will enter the category name and then when you select the save category button, this category will be saved and will be list...
asked by 09.07.2017 / 23:07
0
answers

C # pagemethod autocomplete Materialize error

I can not execute my c # function through the materialize framework autocomplete. It does not run and returns no errors. With bootstrap it works. I'm using asp.net without codebehind, all in the same file. I can call the function through t...
asked by 14.07.2017 / 02:47
1
answer

How to perform form search using ajax?

I'm implementing a web application and I already have the full CRUD and search implementation. But I want to use ajax to make the system more efficient and implement the search of registers in the bank using ajax. I started implementing but it i...
asked by 14.07.2017 / 21:06