Questions tagged as 'javascript'

2
answers

Which way to calculate Video time by the method getTime ()

Hello, everyone! Javascript method named getTime(); as well as the getDuration(); that gives us the duration of a video in question if aggregated to <object/> and <embed/> . Well, it's my question:...
asked by 14.06.2016 / 23:49
1
answer

How to control the contrast of videos using Electron?

On the left side is my Electron application with a youtube video. On the right side is my application created with pygtk2 and webkit. Contrast is best with webkit. With Electron, the blackboard around the video diverges. How can I solve it?...
asked by 16.06.2016 / 05:29
1
answer

Clear form field, if autocomplete is null

I am using the code for autocomplete below. I type the initials of a fruit and my select returns with the names of the fruits that match those initials. Selecting one of them, I get the id and play in another field. So far the problem is that I...
asked by 27.12.2016 / 22:41
1
answer

How to call the function again without losing a promise?

I'm still new to Node.Js, and I do not know how to do this. In the code below, you'll notice that the readSubscriptions () function is called shortly after the login () function. However, if a login error occurs, I do not do anything to trea...
asked by 28.12.2016 / 21:39
1
answer

work with value in google charts

Well I'm taking a look at how the google graphics works. And I'm not figuring out how to work with men in R $. I need the graph to display the formatted values. Does anyone know how to do this? <html> <head> <script...
asked by 27.12.2016 / 13:26
2
answers

Search for data in MYSQL and display in the Highcharts chart

Person! I'm starting in the development area and I have at the moment the need to work with the javascript library Highcharts. However, I am not aware of how to search for this data in MYSQL and present it on the chart, on my machine I have t...
asked by 27.05.2016 / 02:31
1
answer

Callback logic

I have a small problem and I would like an aid to understand and if possible an indication of the Srs to help this problem. Let's start, I currently have a loop, I'm doing it in a for something like the code below: for(var i = 0; i < 150...
asked by 30.05.2016 / 18:32
2
answers

How to create a class from another class? (Hierarchy)

Hello, everyone. I have the class Students, StudentMonitor and StudentImagination. These last two classes inherit all Student class methods and attributes (name, enrollment, gender, notes, display (), assignNote (), readNote (), calculateMedi...
asked by 23.10.2016 / 00:15
1
answer

Error injecting source script from googlemaps via method

I would like geocomplete not to get this error, but to work, it depends on the API google maps. I removed the following script from the header and passed via method: <script id="id_script" src="https://maps.googleapis.com/maps/api/js?c...
asked by 21.10.2016 / 16:46
1
answer

Fill in a div when selecting a select item (form)

Colleagues. I have a select from which the data comes from a database. See: public function verSelect($tabela,$idTB,$nomeTB,$nomeSelect){ $query = "SELECT * FROM ".$tabela; // echo $query; $sqlSelect = mysqli_query($...
asked by 19.10.2016 / 20:44