Questions tagged as 'javascript'

1
answer

Create image with javascript?

I am creating a captcha system with javascript, I have created the code to make a random code, and now what I want to do is show that code as an image, I have searched in Google but I can not find anything, I hope you can help me , I leave the c...
asked by 17.03.2017 / 17:06
1
answer

Carousel effect that divides images

Sorry that the title is not so specific but I want to make an image transition effect where the image is divided into parts and reconstructed similar to this page link How do I do those effects?     
asked by 23.10.2018 / 16:07
1
answer

I have many doubts about parseInt, I can not understand anything

I'm in a course to apply to a Programming school but for more I've searched, I can not understand the parseInt, could someone explain to me?     
asked by 13.09.2018 / 04:32
1
answer

jQuery | Ajax | xhr.statusText: 'OK' vs xhr.status: 200

In the jQuery ajax, I need a xhr.statusText:'OK' and throw a 'success' . I also throw a xhr.status:200 serves the same? Example: if (xhr.statusText == 'OK' || xhr.status == 200) { // Ok! It works! Let's d...
asked by 26.10.2018 / 13:54
1
answer

How to check and uncheck all checkboxes at the same time by pressing a button

I need this function they could help me. From already thank you very much. This is my code: include('conexion.php'); include('bloquedeseguridad.php'); $query="SELECT identificacion as cedula, id as id , nombre as nombre, telone as telefono, te...
asked by 15.11.2017 / 14:12
3
answers

Can you pass data from MySQL to PHP and then pass it to another PHP? (or in Js)

I'm trying to make an online store, in my case what I want to do is show the products that are sold (I already have it) but I want the client to see more product information in another window with the images (as do all stores) in my case I s...
asked by 09.12.2017 / 02:18
2
answers

Questions about!, Number and a little bit of logic

Good I am new in JS, some questions of logic = > Can someone explain to me why these 3 options I have discussed above go into the first section of the else if: 'Please enter a valid numeric value.' Can someone tell me if I'm right in the fi...
asked by 14.12.2017 / 16:46
1
answer

Delete window.location.href JavaScript

I am not a programmer, but there is some way to delete window.location.href or change it for another url that you want. var URLactual = window.location.href;     
asked by 03.01.2018 / 06:10
3
answers

Event click on just the element clicked

My problem is the following, I need that when clicking with an mouse on an html element, the click event is executed only on the element clicked and not that it is executed in the other elements that share the same call. I could n...
asked by 22.11.2017 / 16:58
1
answer

Problem with game Pong: the AI is not fluid [closed]

I have developed a Pong game that has the following code (commented): //declar dos variables, canvas va a manejar toda la informacion de las dimenciones del area y canvasContext va a tener la informacion grafica como circulos triangulos...
asked by 28.12.2018 / 21:19