Questions tagged as 'javascript'

0
answers

Delete child node in firebase with react-native and redux

Does anyone know how to delete an item from a ListView in react-native using firebase as a database? In case I want to delete only the item marked in the print below:     
asked by 22.06.2018 / 03:02
0
answers

How to insert SVG dynamically?

I have several SVG's and I need to insert them dynamically in HTML5 and with responsiveness ... How do I do this feat? Remembering that I will have to manipulate each id of the image svg. NOTE: SVG WILL BE ITERATIVE (OVERALL GENERAL, IT WILL...
asked by 22.06.2018 / 04:31
3
answers

Odd number calculation - JavaScript

I'm trying to divide 100 by a number so I get the percentage of that number to play in a variable that is within a FOR ... and that FOR throws the percentage in of an Array ... More or Less Thus: var numero = 4 var percentual = 100/numero va...
asked by 14.06.2018 / 14:52
0
answers

What is the output of wysiwyg plugins like Summernote and TinyMCE?

Would anyone know to tell me what the output of this type Summernote, TinyMCE, Froala, CKEditor4 publishers is. I looked at the documentation of all these and I did not understand for example how to save the contents in a database for example,...
asked by 14.06.2018 / 15:11
0
answers

LocalStorage is asynchronous or synchronous?

I'm working on a PWA application that uses localStorage to store information and be able to capture this data when the application is offline. But I have read in some articles that recommendation and use the indexDB. Can anyone tell me if LocalS...
asked by 14.06.2018 / 16:16
0
answers

Passing data via HTML post JAVASCRIPT

Hello, I'm doing a college work, an academic control, and when trying to remove a tuple from the database passing the "id" of the tuple via post form, the value arrives either empty or undefined. Here is the code: <tbody> <...
asked by 14.06.2018 / 05:55
1
answer

problem removing tab from a tabcontrol c #

I'm trying to remove a tabcontrol, this tabcontrol is with the cef open (browser with google chrome engine) on it I have a button called quit. It is created like this: TabPage nova = new TabPage(); nova.Text = "aba1"; //aba 2 assim por diante...
asked by 14.06.2018 / 10:04
1
answer

Only the first ID of the form is sending!

I'm trying to send a post without refresh with this method below but only sends the first form the second it redirects to page, I'm with the forms within a while PHP $(function($) { $('#enviaadv').submit(function() { $(this).ajaxS...
asked by 18.06.2018 / 20:51
0
answers

How to play an audio object instance in Safari?

How do I make an audio instance play in Safari? var som = new Audio("http://www.sousound.com/music/healing/healing_01.mp3"); function tocar() { this.play(); } som.addEventListener('canplay', tocar, false); See in this example it does...
asked by 18.06.2018 / 21:42
0
answers

add attribute to one or more unknown option

I have a code that dynamically defines the input fields. In a context, I have several selects being set, and I do not know the name or its id. Selects inputs and selects options are defined dynamically, via ajax. The first option is selected by...
asked by 18.06.2018 / 18:16