Questions tagged as 'javascript'

1
answer

program the average Excel function in javascript or another language

I need help to know how I can calculate the average of this table, where the third column is the value to calculate in excel The formula would be something like this: Promedio(0.63,518:461,0.60:0.70); just that I can not think of how to p...
asked by 12.09.2016 / 03:11
1
answer

Iframe from youtube does not work with onclick function and cancels javascript in safari

Hi, I have this problem: I have a button that calls a function using onclick and opens a div where there is an iframe from youtube. In all the browsers it works correctly less in safari, in the iphone it shows the iframe without giving the botom...
asked by 21.02.2017 / 11:04
1
answer

how to fill a directive fact combo, from angular

I want in a dynamic form to be able to set a value to a Combo (Select), however when the dynamic controls are rendered, the combo, which is a directive, does not preload the value that is sent to it. I would like to know how to resolve this i...
asked by 23.02.2017 / 00:38
1
answer

Get an item using agularjs

Good friends. I'm using angle 1.6 and I've integrated ui-route for views, this is my code in index.html <!DOCTYPE html> <html lang="en" ng-app="app"> <head> <meta charset="UTF-8"> <title>Document<...
asked by 25.02.2017 / 00:14
1
answer

Record data from a Partial View (popup)

I work with ASP.NET MVC 5, I have a partial view which when I press the Save button should persist the data in the db and go to the Index but it is not registering the data. I show code. CONTROLLER public ActionResult CreatePV() {...
asked by 23.02.2017 / 20:07
2
answers

How to update a MySQL database using php and Javascript?

I have a page like the one above. It is assumed that if I give new, in the upper part to the left, let me create a new user with your name, phone, email, etc. If I give the zafacon I should delete the entire line of my page and my database...
asked by 29.04.2016 / 04:37
1
answer

Load DropDownList via ajax

I work in an ASP MVC project, I am trying to create an entity Material for which I have the following Model: public class MaterialViewModel { [Display(Name = "Número de Registro")] public int MaterialId { get; set; } [Displ...
asked by 30.04.2016 / 00:05
1
answer

Custom Angular directive to show or hide items in multiple views

I am working with Angular js in a modular application. When a user enters the application, it determines the number of boats that the company has and in the menu view it shows a selector that allows to select one of the boats to manage it. <...
asked by 26.09.2016 / 19:10
2
answers

Unable to read the 'fields' property of null

I've been working with Extjs for about two weeks now and I've been bombarded by several errors (since I'm new to this framework ) and today checking my console , since I have a problem with a combobox, of an item that is selected until click...
asked by 28.03.2016 / 18:34
1
answer

I can not delete my ionic browsing history

I inject the modules in the app.js, which is the main one, but when I want to add the HistorialApp driver inside any of the templates in the menus, there is an error , or it does not load the view of the corresponding menu. Libraries on t...
asked by 14.03.2016 / 22:01