Questions tagged as 'javascript'

3
answers

Is there an alternative method to window.print ()?

I want to print an iframe, but the print () method does not work because my src attribute contains    Is there a method that allows me to call the browser print window? Update: Here is the error:    Uncaught SecurityError: Blocked...
asked by 04.12.2015 / 19:19
3
answers

FileReader or alternative to IE9

The FileReader object allows web applications to read asynchronously the contents of the files (or pure data buffers) of the user's computer. The following supported browsers are: Firefox (Gecko) - 3.6 (1.9.2) Chrome - 7 Internet Explorer -...
asked by 15.02.2016 / 13:13
1
answer

Shared variables do not update after http request

I created a Service to be able to share a variable with my entire application, but the value is not being updated: The service only queries the server to return the number of pending users And I'd like this value to be shared across multip...
asked by 05.12.2015 / 22:45
2
answers

Validation of javascript fields?

How could I validate a field using document.getElementById and when clicking on the button, for example "send", does an alert inform?     
asked by 12.02.2016 / 14:34
1
answer

Searching for data on multiple pages on a single site

I need to make a database with some product data from a website. Product details (name, value, brand) are public and divided into pages. Each page displays approximately 10 products and their data. I need to create a program that collects this d...
asked by 20.11.2015 / 16:47
0
answers

Foursquare application

I'm creating a foursquare application, but I'm not able to use the users/request endpoint. I would like to send a friend request via api , I know it is possible because soubeta.com can do it. I noticed the problem is in...
asked by 04.12.2015 / 03:39
1
answer

Send form without updating page [duplicate]

I have a registration page and I wanted my form to be sent to the page so it did not update and open% hidden%. With script below does not let my page update, but it also does not send my form to the database: <script>...
asked by 04.12.2015 / 18:50
0
answers

How to add print option in the Google Maps API?

I recently developed a script that generates routes from the tags in the google maps API, I would like to add the option to print this route, that is, the map. I noticed that the official Google Maps website has the option to print and it genera...
asked by 04.12.2015 / 12:28
0
answers

How to relate the entire Javascript workspace to Java?

I want to link all javascript files in my IDE, as we do with Java in Eclipse. I'm trying to do this on Atom or VSCode. Some things I need: I want to bind my variables and global functions, sometimes I use require.js but sometimes I ad...
asked by 06.01.2016 / 18:49
0
answers

Video does not open in DIV

I'm replacing my IFRAMES with DIVS, but I noticed that a scroll bar is not displayed when the page is extensive and the players of the videos on my page are not displayed inside the main DIV called content, why? Follow my code: Javascript...
asked by 08.01.2016 / 11:52