Questions tagged as 'javascript'

2
answers

Popup message in semantic ui

I have a button: <div class="ui container"> <a href="#" class="fluid ui violet button"><i class="mail icon"></i> Enviar Mensaje</a> </div> below I have the popup message initialization: <script t...
asked by 15.07.2017 / 14:55
1
answer

change the color of a div from an external page from a plugin

I made an add-on for chrome, the functionality is to change the color of the div "textarea_simulator" from the page link , just for doing the test I'm playing with that div but I can not change the color, this is my code js. chrome.brows...
asked by 28.10.2016 / 00:53
1
answer

Delete events from the document element

I have several listeners. Each time my file is executed with this code, it is listened to and executed n times, according to the number of times it uses the .js file. I would like to eliminate all events so that it only works once. document.a...
asked by 25.07.2017 / 18:15
1
answer

Register a series of clicks in JavaScript

I am working on an HTML5 game of memory called SIMON in which there is a board with 4 colored pads (green, red, yellow and blue), an ignition switch and 2 buttons to play in different modes. The user must click on the number of pads that are...
asked by 22.10.2016 / 05:45
3
answers

Do filtering with jquery and php

Good, I have a catalog of products that I did with a while to show all the products that I have in the db, the thing is that the template I use brings some that I would like to use to filter the products, the thing is. Searching I did something...
asked by 24.10.2016 / 01:56
1
answer

Capture error in jQuery

I have the following doubt. I have always worked jQuery looking for all the possible falls by mistake, and avoided doing other functionalities. However, I missed the following doubt. Is there any way to rescue an error that is generated in jQuer...
asked by 12.04.2017 / 16:26
2
answers

Doubt about click on submit php jquery

I tried to learn a little more, a few months ago as a learning I developed a very basic shopping cart, all in PHP . Due to several limitations every time I change the screen I reload some sections that do not vary, such as headers and footers,...
asked by 19.10.2016 / 03:00
1
answer

change value of received model properties in controller MVC C #

I have an ASP.NET MVC application in which, through a controller, I receive a model from a view (the MVC standard) as shown. [HttpPost] public ActionResult EnviarEALG(Modelo datos) { } But now by necessity I must pr...
asked by 27.03.2017 / 22:42
1
answer

Problem when inserting new element in array

Hello, I have the following code: var fs = require('fs'); function search(text) { var response = []; fs.readdir('documents',(err, files) => { files.forEach(file => { if(file.toLowerCase().indexOf(text.toLowe...
asked by 03.04.2017 / 06:55
3
answers

How can I extract the data in this JSON using javascript and html?

I want to extract the data from this json by Javascript and HTML what I need is to show the data "ID" y "NAME" link { "mohademago": { "id": 4294825, "name": "mohademago", "profile...
asked by 13.04.2017 / 02:54