Questions tagged as 'javascript'

1
answer

Passing parameters by jquery through a table

a doubt: I have a table and in it two columns, which are: CNPJ and Razão Social . Well, I need to do the following: When I click on the CNPJ column, for example, I should pass the value of CNPJ that is being clicked an...
asked by 30.06.2014 / 21:53
1
answer

Javascript (load and setInterval)?

I have a function in the index page where div #atualiza makes a load on home.php page and updates itself in x time. index.php var auto_refresh = setInterval (function() {$('#atualiza').load('home.php'); cache:false;...
asked by 24.06.2014 / 16:45
2
answers

How to use onload in DIV elements?

I'm setting some similar functions for different pages on a website. Therefore, these functions are in the same file. When the JS file is loaded the $(function() { /*function1*/ }); and $(function() { /*function2*/ }); functions ar...
asked by 02.08.2014 / 20:52
1
answer

Difficulty Function JavaScript Sidebar Menu

I have a difficulty where the code I have made so far is not acting the way I need it. The fact is that after the class of the sub-menu is activated, the menu does not minimize. That is, after being enabled, it gets maximized until I select an...
asked by 26.12.2018 / 00:11
1
answer

Input of file type with split () function returns with comma

I'm retrieving the file returned from a input of type file of a form and it returns C:\fakepath\nomedoarquivo.extensão so far so good, hence I applied a split() and it returns the following: ,nomedoarquivo.e...
asked by 20.12.2018 / 14:58
2
answers

Request GET with AngularJs

Good afternoon I'm trying to get a Get request with AngularJs but I do not receive any response and the only console.log that executes is the last that is already outside the request; angular.module("listaTelefonica").controller("lista...
asked by 10.12.2018 / 16:20
1
answer

DELETE specific row of a table with PHP and AJAX

Hello! I have the following problem: An address book that one of the options is to EXCLUDE a contact. It displayed a TABLE with the contacts, when clicking on 'search'. In each row of the table there is a "Delete" button. However, when I click t...
asked by 07.12.2018 / 02:16
2
answers

I can not save data in the Firebase database - React Native

I can not save data in the Firebase - React Native database. I have already installed and imported Firebase into the project, the code looks like this: componentWillMount(){ var config = { apiKey: "***************************", auth...
asked by 07.12.2018 / 14:50
1
answer

Validate path nodejs

Hello, I'm developing a file manipulation system, and I just want to be able to manipulate folder with an absolute path eg /opt/file . In other words, I can only create / edit / delete folders on this path. I want to validate that the start...
asked by 11.12.2018 / 21:57
1
answer

ASP.Net - JavaScript / Text GZip File Compression

Good afternoon, I'm having a hard time configuring traffic compression using GZip . Here are the steps I've taken to make compression work: I have already enabled the features of windows related to compressing files on the web; I'...
asked by 10.12.2018 / 18:48