Questions tagged as 'javascript'

1
answer

Persistence of "fs.watch"

I work in NodeJS , an acquaintance recommended me to do a watchdog (supervision) in which when a command is modified, it would be automatically reloaded (after being saved ). In the documentation of NodeJS I found the following: link...
asked by 02.01.2017 / 15:57
1
answer

Retrieve value of an array of json array with jquery

I have the following data that is returned in json to recover the ones with jquery $response = array($query_license,$query_estate); if ($this->request->is('ajax')) { echo json_encode($response,TRUE); die(); } t...
asked by 20.01.2017 / 17:07
1
answer

Convert whole to monetary value in jQuery datatables

I found this function in DataTables : render: $.fn.dataTable.render.number( ',', '.', 0, '$' ) for which I have tried several ways to inject that bit of code, but I have not found the form. HTML: <table id="tabla_salario" cl...
asked by 19.01.2017 / 12:44
1
answer

When interacting, change the style of a web and store it [duplicated]

I am developing a website with php, javascript, html5 and css3. I want to change the color according to what the user chooses in a developed configuration section and that those changes are stored How could I do it?     
asked by 29.12.2016 / 08:35
1
answer

How to make validations in datatables?

I have found out on the official page of Data Tables how to do validations, but it seems very complex to me as for what I am doing. The validation that I require is a bit similar to that done with PHP but in this case it is in a for cycl...
asked by 01.02.2017 / 13:54
2
answers

MongoDB query

I am trying to make a query in MongoDB , and it is not clear to me how to do it. Through the following line, I get what is shown: I would like to know if there is any way to obtain only the field in question, ie "qfmSLTmr3tyZwykaA...
asked by 31.01.2017 / 17:52
1
answer

Google Chrome has run out of memory - Memory Leak Javascript

Good morning, I have a website that should always be running on a monitor in the form of information for people who enter the company to see news, economic data, etc. The main page manages the rest of the screens that are shown creating a...
asked by 28.11.2016 / 10:40
1
answer

how to pass variable from nodejs (Expressjs) to javascript (client side)

I have this fragment of code in nodejs app.get('/consul', function(req, res, next) { // res.render('c_pUser', { title: conUsers}); }); the title variable I want to pass it to javascript on the client side try to show it in javasc...
asked by 04.12.2016 / 13:17
4
answers

Concatenate checkbox

I have a question, which is the following: I'm doing a questionnaire but the dynamic is as follows: 1.- What cities have you visited? [] Mexico [] Brazil [] Africa The question I have is how to concatenate the options that you choose in...
asked by 01.03.2017 / 22:26
1
answer

How to save the value of a dropdownlist web application in a variable?

I have a Web application with C #, which generates a page with several dropdownlist . The dropdownlist are filled from a stored procedure (SP) , what I require is that when I select a value of the dropdownlist (any) I store it...
asked by 01.03.2017 / 16:10