Questions tagged as 'javascript'

1
answer

How to put html in a javascript object?

What I'm doing is that in wordpress I'm creating an object with post.push([ { contenido: "<?php the_content(); ?>", } ]) But when I do that, the content returns it to me in HTML and javascript marks it as an error.     
asked by 22.07.2018 / 21:35
2
answers

how to extract data from a javascript attribute

I'm having a problem when taking the data from a data-id with javascript data, what I want to try if I have several buttons to say that each button has a different value until then it's fine but when calling each button with different values cal...
asked by 23.07.2018 / 17:06
2
answers

Banner bootstrap with 2 responsive images

[! [enter the description of the image here] [1]] [1] [1]: <!-- Banner --> <section class="banner"> <div class="container-fluid banner__container" > <div class="row banner__row"> <div class...
asked by 26.07.2018 / 18:46
1
answer

How to compare two input one type datetime and another datetime-local?

This is the comparison, since it does not allow me to compare apparently to be two types of input different since I do it with two type date and it works, and I do not do so because in input type datetime I show the date of...
asked by 19.07.2018 / 14:51
1
answer

How to get data with AsyncStorage

In the first HomeCreen component, let's say that I store a string AAA , I press the save button and the text is stored using AsyncStorage. When I click browse, I go to the other component that is similar and, since I have previously stored A...
asked by 18.07.2018 / 23:43
1
answer

How can a filter script be optimized to a table?

I have the following function in JavaScript to filter data from a table, but its response time while I am writing the data to search is very slow, is there any way to optimize it?     
asked by 01.08.2018 / 19:34
1
answer

Query Exercise Arrays and Dictionaries JS

I am doing an introductory course in programming, we use JavaScript and the browser console for it, we saw types of data, operations, variables and their comparison, structures of selection and iteration, arrays, the theme is that I I have been...
asked by 01.08.2018 / 13:04
1
answer

How can I add the holiday name in full calendar?

I need to show the nombre of an event but I do not know how to apply it in this case, I use fullcalendar and I want to show me the nombre of holidays, currently with código only shows the day with colors depending on...
asked by 01.08.2018 / 13:49
1
answer

Assign values to the attributes (css) of an image for a canvas

I have an object that has a method that creates a img element within a canvas, the problem is that I could not give it " style ", I was working with a div in instead of a canvas and had no problems. I load the image well, just with...
asked by 19.07.2018 / 15:45
2
answers

Send function with JavaScript parameters

I have the following code line: <td border="1" onClick="myFunction()"> I am trying to do the following to be able to receive a value in the function myFunction (variable). <td border="1" onClick="myFunction(variable)"> But...
asked by 12.07.2018 / 14:42