Questions tagged as 'javascript'

1
answer

Django + AJAX - POST 404 (Not Found)

I'm trying to implement a system of likes in a Django + AJAX application, but when trying to do the operation in question I'm getting the following error in the browser console: POST http://localhost:8000/forum/like/ 404 (Not Found) . I do...
asked by 10.01.2018 / 15:07
1
answer

Manipulating table td's

I have a code that distributes the information coming from the database into three tables. But when I filter these results by name and code (fields available in the DOM to filter the tables) the rows () of the table are messed up because what I...
asked by 10.01.2018 / 14:10
1
answer

Upload image only when you click a button to display

Personal I made a gallery of photos a little big so I added an effect of slice in it are 64 images in the case when the site loads only appears 12 and when the user clicks on see more is appearing from 12 to 12 it works normally follows t...
asked by 10.01.2018 / 16:02
1
answer

Drag & drop: Detect when the element is not released in the marked place

I'm working with drag and drop , and need to detect with JS when the element is not dropped in the marked zone, ie when I drag the element but loosen it and it goes back to its place. Is it possible to do this? HTML + Javascript...
asked by 11.01.2018 / 00:56
1
answer

Problem doing CRUD with HTML and JS [closed]

I can not do the edit button: var count = 1; function Insert(nome,idade){ var tr = '<tr>'+ '<td style="font-size:20px;text-align: center" class="tdnome">'+nome+'</td>'+...
asked by 15.01.2018 / 17:11
4
answers

How to make the screen scroll by clicking on a tag a

On the product page there are two links: 1 with the quantity of comments that already exist for the product and another saying "Write a comment". Further down the page there is a "tab" tab with the comments part. When you click on the link it tr...
asked by 15.01.2018 / 13:58
1
answer

Html "Double" Select required

Hello, I am trying to make a form in the html where it contains TWO selects required, however I will use only one at a time, that is when I select the other required should pass "beaten". The structure is as follows: <form> <select r...
asked by 15.01.2018 / 12:34
1
answer

How to edit an attribute in the database?

I am developing an API where I want to edit information or login . I can already get the user information after logging in as you can see in the function: memberinfo apiRoutes.get('/memberinfo', passport.authenticate('jwt', { se...
asked by 29.01.2018 / 19:42
1
answer

How to generate query and add new input?

I have a field input of type date I want every time I click and view it, it generates a select with the query of the date that I set and generate a new input to add another date and so on. > My code so far: HTML FORM <for...
asked by 29.01.2018 / 21:28
1
answer

How to generate a PDF from a registration form and then attach the generated file and send it by e-mail?

I need to generate a PDF at the end of filling out a form and then attach it and send it via email. I need a light because I have no idea what tools to use! Thank you very much for your attention.     
asked by 29.01.2018 / 16:57