Questions tagged as 'javascript'

2
answers

I can not access node_modules with gulp

I have a file structure and task automation with gulp. When I run the default task if I read all the css files including the ones I send from node_modules, but when I add the browser-sync task and run again gulp it does not read any css file...
asked by 16.10.2016 / 17:02
3
answers

How to make that when I click on a record of a table I update the data of a form with the corresponding registration data with ajax?

I have a table in which all the records of a table of the bd are displayed and in which when clicking, the information of the selected record must be shown in the form, since in this form the first record is always shown, besides everything on t...
asked by 12.10.2016 / 23:03
0
answers

Alternate Divs by selecting with selectors

I have a portfolio of photos in div in which he shows me all the photos and I can select by category as follows: $portfolio_selectors.on('click', function () { $portfolio_selectors.parent().removeClass('active'); $(this).parent(...
asked by 04.11.2016 / 03:51
2
answers

Show result html and php

Hello I have a problem with the following code because it shows me a result of zero I do not know why it does not read the function of the php, they would be so kind to tell me what I'm doing wrong, thank you very much. <script src="j...
asked by 16.09.2016 / 15:54
1
answer

How can I fix this error in expressjs in the view? [JADE]

I'm using express with jade. I am trying to do a factorial with an entry, but I can not visualize the answer for example if there was input 5 the result is 120, but show a big error. How can I do this? Can you please help me? views/facto...
asked by 11.10.2016 / 19:26
2
answers

Obtain GCLID in two GCLID Fields of different forms

I have two forms and in each one I have a hidden input with the same id but different name, where the adwords gclid is captured by a script, my question because when the user sends the info from the 2 form I do not capture the gclid ?. <scr...
asked by 11.10.2016 / 09:07
1
answer

Sort DataTable by CheckBox

Someone would be so kind to help me with a DataTable , I need to order the table according to the checkbox selected descending, that is if I select a items goes fence showing first as shown in the next example. link Create the...
asked by 09.08.2016 / 13:22
2
answers

How do I get the correct measurements of an image using javascript?

My problem is that I want to determine what size minimum and maximum should be the images that will be entered into my web system, both length and height (width and height). Here is my file-type input <input type="file" name="file-1[]" i...
asked by 17.08.2016 / 19:10
1
answer

problems when updating from an array in mongo and nodejs using async

Hi, I have a problem I want to update, a database from an array that I have, to cycle the array and every key that exists in the db that I update ... I have written the code, but I only update the last record .. I do not know why. var...
asked by 16.08.2016 / 15:55
1
answer

node_redis - I can not return a value from inside a query

I'm going crazy with a problem that I can not find a solution for. I can not return values from inside a query to Redis. I'm using the Redis client for NodeJS node_redis ( link ). The problem is this: I wrote a function to get the connection...
asked by 19.08.2016 / 21:43