Questions tagged as 'javascript'

1
answer

Add text as a watermark to images;

I have this little form where I want to select an image, it appears on the screen with a text like type watermark. <form name="formulario" method="POST" enctype="multipart/form-data"> <input type="file" name="archivo" value="" /...
asked by 27.12.2018 / 16:47
1
answer

I want that the image inserted in the canvas does not cross the edges but that these are its limits

var x= 220, y= 730; function lienzo(){ var c = document.getElementById("myCanvas"); var ctx = c.getContext("2d"); var img = document.getElementById("ima"); ctx.clearRect(0,0,c...
asked by 27.12.2018 / 20:32
1
answer

Show laps of a for in time intervals

The following is more than anything a query. We have a simple cycle: for ($i = 1; $i <= 10; $i++){ echo $i."</br>"; } As we already know at the time of executing this code, all the results will be displayed once and in this case...
asked by 27.12.2018 / 21:02
1
answer

Problem when using 2 javascript API of google maps in the same index.html

I'm wanting to load 2 maps with the google application in the same index.html. The maps when tested one by one have no problem, both are loaded and work properly. The first map shows the user's location in <div id="map"> as follo...
asked by 16.12.2018 / 19:29
1
answer

capture data from ASP to javascript

I have a doubt I want to capture data from start dates and end of an ASP query to jQuery, this data is sent to an email, but it shows me the data in white. <% dim i, Q dim fInicio, fTermino dim lCentros ' obtener fechas anteriores fInici...
asked by 10.12.2018 / 13:51
1
answer

Problem when selecting elements within other elements with JQuery

I have a checklist that is dynamically armed with Jqurey according to a previous selection, so at times I can have 3 checks or 6 according to the profile of the user that I am going to edit. I try to make the checks fill with the informa...
asked by 10.12.2018 / 18:22
1
answer

Hover by Jquery does not work when I change display to mobile in chrome

I have a horizontal menu of the type list. with jquery it occurred to me to add a hover effect in the elements that are still in development, I copy a sample from the list: <li>Busca Evento <img src="img/flechita.png" width...
asked by 10.12.2018 / 21:02
1
answer

Error changing date

I am doing a system that is managed with dates, but the problem is when I want to change a date, example: I choose today's frecha and the one of the day 14-12-2018, in total they are 10 days which is going to me calculate a value for those 10 da...
asked by 04.12.2018 / 03:35
1
answer

Why the javascript image is not shown in html

I have this: <!DOCTYPE html> <html> <head> <title>EJEM</title> </head> <body> <div id="fordward"> <img id="equipologos" src=""> <h2 id="nameEquipo"></h2> </div&...
asked by 04.12.2018 / 21:46
1
answer

read RS-232 scale port PHP or Javascript?

Hello I need to read the weight of a digital scale I have seen some try from php but php is from the server side as I could do this from the client side with jquery or q so     
asked by 19.10.2016 / 04:31