All Questions

1
answer

Create addEventListener in a span whose id is contained in a variable

good morning. First of all I apologize for how unclear the title is, I have not been able to describe it better. Secondly, I clarify that what I am going to put here is an invented and simple example so that you understand what is my doubt and a...
asked on 21.02.2017 / 15:19
2
answers

Delete with inner join

Good I have a problem currently in my code, I'm working on a student registration system, where a representative can enroll several students, but if I delete a student I do not want the representative's data to be deleted because this may have a...
asked on 07.06.2016 / 23:52
1
answer

consequences of stopPropagation

I have a website, mostly made with Bootstrap and certain not so powerful PCs (I saw a Core 2 Duo with 4gb of RAM) as an example, my web experiences some "latency" when clicking on form elements like inputs, buttons, selects and the css animation...
asked on 16.02.2017 / 03:25
1
answer

NSLayoutConstraints Margin and view that is not displayed

What's wrong with this code? Because the blue view is not shown? let myRedView = UIView(frame: CGRect(x: 0, y: 0, width: 400, height: 400)) myRedView.translatesAutoresizingMaskIntoConstraints = false myRedView.backgroundColor = UIColor.redColo...
asked on 07.06.2016 / 16:45
2
answers

download file from url with ajax and asp.net mvc 5

I'm trying to download a file from a URL with ajax and asp.net mvc 5 This is my controller: [HttpPost] public ActionResult DownloadDocument(DownloadModel model){ urlFile = "http://www.storage.net/data/pdf-xml/" + model.nombre.ToLower() + mo...
asked on 06.06.2016 / 17:47
1
answer

Separate a column in several SQL Server

Does anyone know how to divide a field into several columns? I have an sp, which gives me the following information. I would like to divide the Week field into several columns SemanaAƱo Semana FechaInicio FechaFin R...
asked on 16.02.2017 / 16:17
2
answers

Redirect access with sessions

By entering the valid user and password, the system creates a CONTROL variable to which the value of 1 is assigned. LOGIN.PHP: <?php require ('includes/config.php'); if (isset($_POST['user'])) { $usuariodao = new Usuari...
asked on 14.02.2017 / 15:04
2
answers

Undefined variable in a single view of laravel

good I find myself doing a library application in laravel at the time of making an individual view of the database using the driver show function I do it in the following way public function show($id) { $libros = Libro::find($id); if (...
asked on 14.02.2017 / 01:52
1
answer

Convert XML to Object C #

I have a string , in which I keep the serialization of an object in XML format, leaving the following form: <miObjeto> <id>01</id> <Lista> <elemento>1</elemento> <elemento>2</eleme...
asked on 21.02.2017 / 16:55
2
answers

Restrict folder and files with .htaccess

I have the following directory: examples file.php file2.php helpers file3.php secret .htaccess index.html file.json .gitignore index.php README.md My .htaccess file contains the following: RewriteEngine On # Pro...
asked on 22.02.2017 / 14:21