Questions tagged as 'javascript'

3
answers

NodeJS Forever Not for

I have a ubuntu server, and I used the command forever restart but I forgot that I did not install a node-module, that is, when I did the command forever list it appeared stopped, then I used the command forever start server.js...
asked by 21.02.2017 / 21:28
1
answer

Which one to use: "typed array" or DataView?

In ECMAScript 6 there is a new class DataView , and "typed arrays" (apparently supported in Internet Explorer 10 and 11 ), used to manipulate ArrayBuffer 's. What is the difference between DataView and typed arrays (...
asked by 21.02.2017 / 21:01
1
answer

How to execute a JS function before the CodeBehind method call? [duplicate]

I have a button asp <asp:button ID="cmdAvancarEndereco" runat="server" cssclass="btn btn-success btn-lg" text="Avançar >"> </asp:button> which has an event of VB linked in click Private Sub cmdAvancarE...
asked by 10.02.2017 / 15:13
1
answer

How to access a non-explicit function

I apologize for the very generic title, but I can not express it in a short way and that is why my searches were a failure. Let's get down to an example: bd.colection.find(); I'm trying instead to explicitly declare find (), do so: con...
asked by 10.02.2017 / 13:27
1
answer

Clear fields with Angularjs

I have three tabs with content. All interaction with the fields is controlled by AngularJS. I need to clear the fields after changing the tab (when clicking). How can I do this? HtmlCode<!DOCTYPEhtml><html><head><t...
asked by 09.02.2017 / 20:56
2
answers

I can not insert data into the SQLite table

I want to insert some data into my SQLite table. Creating the table in .app $cordovaSQLite.execute(db, "CREATE TABLE IF NOT EXISTS tbprodutos( id INTEGER PRIMARY KEY, codbarras NUM, desccupom TEXT...
asked by 10.02.2017 / 12:21
1
answer

Replace HTML entities inside a Div

I have code html and I need to replace part of it with another html , this code is inside a div . Code: <div id="aba-per" class="et_pb_module et_pb_tabs tab-per et_pb_tabs_0"> <ul class="et_pb_tabs_controls c...
asked by 17.02.2017 / 21:44
1
answer

How to collect and insert gradient properties from one div to another div

There is this # And there, as you can see, when we click on the small squares of choice with gradient it loads all the gradient properties to another larger div. I researched here: link html_toggleclass.asp $(function(...
asked by 20.02.2017 / 02:49
1
answer

How to load image from javascript using base64?

Good evening, I'm using this plugin: link Here's JSFIDDLE: link Follow the code: HTML: <button type="button" class="btn btn-primary">Abrir imagem</button> JS: $("button[class='btn btn-primary']").click(functio...
asked by 20.02.2017 / 04:24
1
answer

Jquery Event Click does not work in image preview

Clicking on the img element does not work to call a JS function, what am I doing wrong? Follow the code below: HTML: <label class="control-label">Select File</label> <input id="input-id" type="file" class="file">...
asked by 19.02.2017 / 06:03