Questions tagged as 'javascript'

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
0
answers

View message error

I have this code: $.ajax({ url: "/InternalAuditRecord/SaveInternalAuditRecord", type: "post", data: $("form#internalAuditRecordRegisterForm").serialize()+"&idResponsibles="+responsibles+"&am...
asked by 20.07.2017 / 13:24
3
answers

Writing and reading file via JavaScript

Is it possible (if so how) to do the following method with JavaScript? The person types in a form some arguments, When you click send it will execute a JavaScript code, In this code the function will get the form information and will ope...
asked by 03.03.2014 / 23:18
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
0
answers

CKEditor taking too long to load

I'm using the angularJS version of CKEditor to generate my text fields. The problem is that it only calls the plugin when the page is already loaded. Because of this, he expects all the images he has on the page to load only after loading the fi...
asked by 28.07.2017 / 14:59
1
answer

Drag-Drop events generate internal counters?

I'm trying to create a div every time I drop an image on top of another div , but the following is occurring: At once: create 1 Div; On the 2nd time: create 2 Div; 3 times: create 3 Div; Is there an internal counter in ev...
asked by 19.07.2017 / 22:27
0
answers

Fill in a chart chart with excel data

I'm creating a dashboard based on an excel sheet, I was able to create the charts using chart.js but I do not know how to get the data to be taken from the worksheet, does anyone know a way to do this? (the graphics I created, typed the value of...
asked by 19.07.2017 / 14:26
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

Page content offset when closing modal bootstrap

I'm having the following problem when opening a link in a modal on my page and closing it the contents of the main page is shifted to the left, whenever the modal is opened and closed the content moves, I do not know why This happens, I apprecia...
asked by 16.08.2017 / 16:15