Questions tagged as 'javascript'

3
answers

Disabling Developer Tools options in Chrome

Facebook is supposed to use code similar to the one link for disable and place a warning to your users. Since the above link code seems to be in half. How do I resolve the issue? You can disable other options like: Elements and...
asked by 13.01.2015 / 19:53
1
answer

It is possible to determine the access path for the file in Function

I have a 'Java WEB' application where I am using a function that opens the .pdf file I determine, however it only opens .pdf that are in the same folder where my project is saved, I have already tried to change my String variable th...
asked by 23.09.2016 / 16:06
1
answer

Time Zone JavaScript

I have an application, where I get Time Zone from the PC. var d = new Date() var n = d.getTimezoneOffset(); In my situation, it returns 180, I believe it is -3 Hours (180/3). So, I have doubts which is the larger TimeZone and which is small...
asked by 30.07.2016 / 14:12
4
answers

Change page without changing user's URL

How to change pages internally without changing the URL to the user? Without using frames. Example: The user entered my site: http://exemplo.com and clicked the menu and went to the "Contact" page. Make the URL continue: http:/...
asked by 02.07.2014 / 21:10
2
answers

What is React Hooks

I would like to understand the concept and if possible with examples of this new React feature. What will change in the way you create Reacts projects?    The community seems to have liked, what are the reasons?     
asked by 29.10.2018 / 15:24
1
answer

Create a method in a function involved

asked by 06.02.2014 / 14:01
3
answers

How to fix the position of an element inside a div with scroll (com css)

Is it possible to fix an element (div, img, p) in a div with scroll and with position:relative and using css only? * Currently I reposition the div using the $('elemento').scroll() function and calculating the scroolTo...
asked by 16.05.2014 / 22:35
1
answer

jQuery validate - rule skip_or_fill_minimum does not fire if used more than once

I have a form that is composed of four inputs and they are grouped in pairs. The rule for this form is very simple, if I fill one of the inputs of the pair, I have to fill in the other one too or do not fill in any. To achieve this beh...
asked by 06.02.2014 / 23:07
2
answers

PHP / MySQL site integration with App Phonegap

I'm creating a website and an App with Phonegap, I'm new to programming for mobile platforms. This site has a database and I want this database to be available directly in the App, but I do not want access to removal in the database. How c...
asked by 08.04.2014 / 01:30
1
answer

How to pass variables between PHP pages via JavaScript?

I was doing a search in PT and EN on how to pass variables from one page to another via JavaScript, although I found a lot of information I kept on with the question of how best to do it. I have some fields of a table (paginated) with filter,...
asked by 08.04.2014 / 17:11