Questions tagged as 'javascript'

2
answers

How to pass a javascript variable to an external php

I have a javascript function in which I get a variable that I need to use in a different php file and I do not know how to do it. I show you the code of the files, thanks in advance. JavaScript file (test1.html) function boton() { var...
asked by 20.04.2018 / 17:07
2
answers

Access checkbox of a php table

as I can access the elements of type checkbox and fence me adding in a input the number of selected rows as you can see in the image. My table: <tbody> <?php if(!empty($tarimas)):...
asked by 18.04.2018 / 01:54
2
answers

Calculate the length of each string within an array with the .map method

Good morning, I'm not sure how the map method works, does one function for each element of array as foreach ? Thanks I would like to know how to do this = > Take an array of strings and turn it into an array of num...
asked by 08.12.2017 / 15:42
2
answers

Jquery Append Method

Greetings, I'm doing this append. $(this).closest('tr').css("background","cyan").after("<td>1</td><td>2</td><td>3</td><td>4</td><td>5</td><td>6</td><td><button cl...
asked by 12.12.2017 / 15:46
3
answers

HTML looks different between firefox and chrome

The margin-top of the internal elements of my container in Firefox can not be seen, while in Chrome it can be seen, I leave images attached: The code is as follows: * { padding: 0; margin: 0; } .initWrapPages {...
asked by 06.12.2017 / 12:57
1
answer

How to avoid repeated data in datalist from xml

So far I have managed to get what I need from the xml list, but the issue is that I have twice the center and two times Alameda stay AlamedaCentroCentroAlameda, someone to help me with how to make it go out just once? <!DOCTYPE...
asked by 18.01.2018 / 22:11
1
answer

I do not upload data in input

Hello everyone I have the following problem, it turns out that by means of a script I pull the info from the database and it is displayed in each input, I leave an image. As you can see all the data is reflected less the user, I do not kno...
asked by 19.01.2018 / 14:15
2
answers

Avoid forwarding mail when reloading the page

A question would have some way of avoiding email resending (I am using the PHPMailer library) when reloading the page without using a button, since I am developing a notification system, but I have a problem that the notifications are they keep...
asked by 18.01.2018 / 15:41
1
answer

The image with display none I want it not to load

I have a question, I am optimizing a website and in the mobile version I am putting smaller images and therefore I am hiding the desktop image with CSS display none. The problem of mine is that no matter how much you put a display none of the de...
asked by 19.01.2018 / 15:39
1
answer

Why node.replaceChild does not work?

Good, I have a carousel of bootstrap in which, when I do click in the images that are replaced by a video server. This is the code of one of the items: <div class="item active" id="unboxing" onclick="PonerVideo(this)...
asked by 23.01.2018 / 10:21