Questions tagged as 'javascript'

1
answer

Select something that contains brackets in the name in a JavaScript function

Good evening. I'm trying to use this javascript code to display the "value" of a "radio" in a form: document.userForm.onclick = function(){ var radVal = document.userForm.[rads].value; result.innerHTML = 'You selected: '+rad...
asked by 14.05.2016 / 04:26
1
answer

Click OK button of window.confirm

Good afternoon, when I click on a button it opens a window.confirm obviously it has an OK and CANCEL, I would like to know if there is a way I can click this OK button once it opens with javascript? HMTL <a href="/excluir/recado/5735526/...
asked by 15.05.2016 / 20:28
1
answer

Disable CipherLab 9700 Virtual Keyboard via PHP

I created 2 pages in PHP , to run on the collector: CipherLab 9700 It's running normally and doing what I want, the only thing I'm not liking is that it opens the digital keyboard and thus overrides my form . I can no...
asked by 28.06.2016 / 16:57
1
answer

Cut audio with javascript

I need to cut an audio on the client-side and send the "cut" bytes to the NodeJS. It's possible? How can I implement?     
asked by 25.07.2016 / 17:24
1
answer

Regular expression of monetary value

Hello, I have the following function function CarregarMascaras() { $('[data-mascara=numeroMonetario]').keyup(function () { this.value = this.value.replace(/[^0-9]+[^\,]?[^0-9]+/g, ''); }).on('paste', function () { this.value =...
asked by 25.07.2016 / 22:26
1
answer

button does not seem to be in DOM

Good night, I have a jquery table where in a column I return a button { "data" : 'sla.value', 'render': function ( data, type, full, meta ) { return ' <button id="show" type="button">Click</button>'; } After closing the });...
asked by 24.07.2016 / 00:56
1
answer

Soft scroll bar

Hello, sorry to bother again, but I'm having problems with stellar.js I tried adding it to the site scrolling to be smooth, but instead the site jumps straight to the next page, I believe it's missing something to add, but I do not know what....
asked by 08.05.2016 / 06:45
1
answer

transition between main container for a new container in Javascript using DOM

Hello, I have a function in Javascript using DOM to create a page and then I want to display this same page in the container and for this the data displayed would have to be only the intended one and only that container does...
asked by 08.05.2016 / 02:32
2
answers

How do I make a cpf validator for my database values?

I have the following code, which accepts values in its inputs and then sends them to the database. I want, when the user clicks send, if cpf is invalid (EX: 111.111.111-11), it does not send any value to the database and shows an alert on the sc...
asked by 10.05.2016 / 12:54
1
answer

Create a treeview that accepts an observable array as input

Hello, I need to create a treeview that accepts an observable as input so that as I remove / add a node in the tree it updates itself. I've been researching and many people use the biding template to do this however, I'm still kind of confuse...
asked by 20.04.2016 / 14:12