Questions tagged as 'javascript'

1
answer

How to play sound in a Chrome application?

I have an application for Google Chrome and I want it to issue a sound every time a notification is created, but in my tests I did not have much success = p I do not know if it's some permission or if there really is not any way I can do it....
asked by 18.02.2014 / 01:46
3
answers

Google Maps Coordinates through a Widget on a website

I'm setting up a geolocation-based registration system. It happens that sometimes the registration must be done by telephone, and the attendant is who will enter the location ( coordinates ) of the client. Through the Google Maps site, simp...
asked by 18.02.2014 / 17:02
3
answers

How to standardize the formatting of javascript and php codes?

I have some time already in languages, but whenever I come across other codes or I'm in a different job, each one has a different way of standardizing. Is there any recognized standard, type W3C, or any tool that validates the code?     
asked by 25.03.2014 / 16:25
1
answer

SCRIPT5009: 'FormData' is not defined

The FormData tag is being displayed indefinitely. IE does not recognize. var formAnexo = null; if ($("#anexarArquivos").attr("enctype") == "multipart/form-data") { formAnexo = new FormData($("#anexarArquivos").get(0)); }  ...
asked by 24.04.2014 / 15:24
1
answer

Error opening Partial's in a new tab from a function in javascript

I have the following case: I have a "Third Party" navigation page, with several Partials that defines its corresponding data. To do this navigation I'm doing it by javascript , and I load Partial as follows (example of a p...
asked by 30.04.2014 / 11:54
2
answers

Close Download Window

How do I close a download window with jQuery on Internet Explorer ? Example: <?php $arquivo = $_GET["arquivo"]; header("Location: $arquivo"); echo "<script> $(window).ready(function() {...
asked by 27.04.2014 / 23:33
1
answer

Syntax Highlight and TinyMCE4

Whenever I put a JS, PHP or CSS script in tinymce within the <pre> tags, as Syntax Highlight does, it works perfectly, however if I want an HTML script, as tinymce is an HTML editor, it takes my own tag <pre> and throw...
asked by 29.01.2014 / 14:16
4
answers

How do I make a textbox always right when I'm focused?

I have a textBox money value that is with 0,00 , when I click to type a value example 12345 , it gets 10023,45 . I would like to know how I can sort this with Javascript.     
asked by 30.01.2014 / 21:02
1
answer

Area chart with scrolling when clicking and dragging the mouse

I have the following challenge: Perform an area chart where the customer can drag areas of the chart (click and drag) and then save this "new view" after moving the areas . The first idea that came to mind was to perform the displacement vi...
asked by 30.01.2014 / 12:55
1
answer

Is Facebook Embedded Post only allowed for profiles that allow Public Followers?

I made a simple application to test the ability to embed publications on external Facebook sites. In it, you paste a URL from any Facebook post, click a button, and the post is inserted into a div . I separated some links and started th...
asked by 13.02.2014 / 15:39