Questions tagged as 'javascript'

2
answers

Send properties and functions from a Component to a Functional Component

I have a small problem when trying to send my props and functions to a functional component, they will see. I want to have the state and functions in a Component and the interface in a Functional Component , my question is How do I send the p...
asked by 30.11.2018 / 01:35
1
answer

How to set the header of an html table with jquery?

I have the following table: $('.listado_volumen_negocio > tr').remove(); var listado_volumen_negocio = $('.listado_volumen_negocio'); var response = { "data": [{ "Nivel_Codigo": 1, "Nombre": "Juan", "VNIndivi...
asked by 30.11.2018 / 02:09
1
answer

DropDownList Lose the style

Hi, I have a GridView in RowCommand I call a div floating% that loses the style when loading (has the search option) This is my code I have everything in a UpdatePanel , it visually loads it but after loading the data...
asked by 27.11.2018 / 21:11
1
answer

Can style variables be sent by JS to SheetJs so that the table created in excel has borders?

I have the following code that takes an html table and exports it to excel. <script lang="javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script lang="javas...
asked by 27.11.2018 / 15:25
2
answers

Automatic timed mode [closed]

How can I launch a modal in the form of an alert in JavaScript that is activated and deactivated automatically at a certain time? when activated, please some documentation, suggestion or help. Thanks. Thanks in advance to the answer...
asked by 27.11.2018 / 19:31
0
answers

popupalert javascript and php

When executing this code it tells me Undefined offset in the line of the query. <p> id="demo"></p> <script> function myFunction() { var txt; if...
asked by 01.12.2018 / 00:46
2
answers

send array from ajax to php

hello to all I have the following form in which I add products and when clicking on add they are stored in the table as in the image, As you can see in the image I have 3 products and when clicking on preview what it does is store all the record...
asked by 30.11.2018 / 21:35
1
answer

How to know if all the fields of a form are filled before submitting?

I have a form with several fields in which the option 'required' is set. Is there any way to know by DOM if all the fields are filled out before submitting? I mean I want to know if the DOM already contemplates the possibility of indicating if a...
asked by 30.11.2018 / 12:37
0
answers

Materialize CSS - Initialize Pushpin with pure Javascript (without JQuery)

I am using MaterializeCSS v1.0.0 without requiring JQuery with failures for the pushpin component. Codepen1 It works! (JQuery init) Codepen2 Not working (Pure JS init) The Pushpin Help indicates this initialization with pure Javascrip...
asked by 13.12.2018 / 14:37
0
answers

I have a service worker on my wordpress page

I have a page and I have a service worker that works until I save the files in cache but when I put them offline I do not show the files in caches index calling sw.js if ('serviceWorker' in navigator) { window.addEventListener...
asked by 13.12.2018 / 20:22