Questions tagged as 'javascript'

1
answer

How do I generate a PDF or an email from a registration in a form in php?

I already have my form for the data record but I would like that when I click on the "register" button in addition to sending the information to the BD, a PDF with the information that has just been registered will automatically be generated....
asked by 24.08.2017 / 15:35
1
answer

XML read error: incorrect content after an XML element of the document,

I am loading ajax when testing in the browser it launches the following error: $(document).ready(function () { $.ajax({ url: "otrapagina.html", method: "GET", dataType: "html", success: function (respon...
asked by 02.08.2017 / 18:57
1
answer

XAMPP with Node js

I need help, I have a project with socket I am doing the socket with node js, but the node creates a server I would like to use the server to xampp so that the requests from the client reach the socket. How could I configure this so that I exit...
asked by 23.08.2017 / 23:27
1
answer

How to include jquery table sorter inside a .js file

Good evening, I recently started working on a very good guide that I got on YouTube where the tables are made directly from a .js file The table works like a charm, search, edit and delete but I'm trying to work with the liberia of tablesorter t...
asked by 24.08.2017 / 03:11
1
answer

Redirecting login in nodejs with express

I'm starting with node and express, I would like you to help me with re-addressing problem after login, I do not understand what I could be doing wrong. The code that I have written is this way: This is the routing index file router.get(...
asked by 21.07.2017 / 19:44
0
answers

Problem with jQuery routine to display content with buttons

I have two buttons where I should press and show me three more buttons that are hidden plus one of the information on each button. My idea is that when I open the section it shows me the content of the first button (Neighbor Service), and tha...
asked by 20.07.2017 / 14:53
2
answers

I can not save the image in the path of the error folder: Notice: Undefined index: photo in C

I try to save the image in a directory outside this directory called img , it happens that it does not save and it sends me the same error I can not find how I save the image. You can help me visualize the error, in the following code....
asked by 19.07.2017 / 20:14
1
answer

Check by event scroll

I need to perform certain action when scrolling. For this it would be enough to add document.onscroll = () = { console.log("scrolling"); } . But if the function is very long I guess it would hurt the performance. I want to know if there is...
asked by 20.07.2017 / 15:56
0
answers

send JSON to angle controller

Greetings, I am creating an editing environment for use cases, I use the FabricJS library. To create the elements of the diagram I use the following code: (I use images) var canvas = new fabric.Canvas('pizarra'); var HideControls = { '...
asked by 07.08.2017 / 17:42