Questions tagged as 'html'

1
answer

How to ask before closing a window

Hello everyone, I have a window that is created from javascript and I would like you to ask the client for a confirmation to close when I close, I have tried this: var xwin = window.open("/PatientForms/RenderDinamicHtml", "", "width=800, h...
asked by 02.01.2019 / 21:16
1
answer

Error with PHP "Notice: Undefined index:" and does not connect to DB

Good I am trying to save comments in BD but it returns me the error that appears in the title of this question. I have the following FORM in an index.html <html> <head> </head> <body> <form id="form" action="g...
asked by 02.01.2019 / 19:00
1
answer

Problem with public file in express

I have a problem I can not make the CSS file apply in the HTML This is my index.js const express = require("express"); const app = express(); const morgan = require("morgan"); const path = require("path"); //ROUTES app.use(require("./r...
asked by 22.12.2018 / 16:26
1
answer

create a circular input type range

I'm trying to make a range type input that is circular, similar to this: but the only thing I find are circular progress bars, and I need an input range that is circular and that you can change the value, and give it a minimum value and a...
asked by 14.12.2018 / 20:21
1
answer

Using RegExp in JavaScript to simulate a wildcard search

Good day, I have a problem, I'm working with JavaScript, I have a function that runs through an array, but I need you to find matches within the array, for example, in the text "Carlos Daniel Zárate Ramírez" find "Carlos Zarate", which imitate t...
asked by 14.12.2018 / 16:13
3
answers

Rotate php array position

Basically I have to move a position of the array (the position 0 to 1, the 1 to the 2, so on until the last position that moves to the first) Example: Array = 1/5/7/9/14/12 Change of position = 12/1/5/7/9/14 The variable $ num, I use to know the...
asked by 13.12.2018 / 16:07
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

avoid anchor tag behavior

Hello, I have a system that by clicking on a link, it verifies if the user is logged in and depending on this the link changes; it works well but if the user is not logged in yet he enters the section and then quickly redirects to the page I wan...
asked by 10.12.2018 / 04:15
2
answers

500 Internal Server Error

I am new and I have an error in the platform that I am programming with php, this error appears to me now, I already put the permissions to the folders and the files, in my localhost it works perfect the error is in the server what is with IIS8...
asked by 04.12.2018 / 16:02