Questions tagged as 'javascript'

2
answers

Share a json data using only a $ scope

Hello StackOverFlow members. This is my code. var app = angular.module('app', []); app.controller("ctrl", ['$scope', '$http', function ($scope, $http) { var promise = $http.get("url1") .then(function (response) { co...
asked by 20.06.2016 / 02:54
2
answers

Html Table, Get text from one cell by clicking on another

I develop an Asp Mvc web application, in one of the views I have a table with the following structure: <table id="grupoActividades" class="ctrlTable table table-striped table-bordered table-hover" cellspacing="0"> <thead class...
asked by 30.05.2016 / 15:28
1
answer

Directive with controller and parameter in Typescript

I am using Typescript 1.8 + angularjs v.1.5.8 I have a directive that I want to call like this: <div mi-directiva mi-parametro="ctrl.Objeto"> </div> My directive is declared as follows: export class miDirectiva implements n...
asked by 14.09.2016 / 15:29
1
answer

Use dropzone.js with asp.net

I want to upload multiple files using dropzone.js and take the paths of the files to store them in my database, but I have found very little information about it or only for MVC, someone who has already used it and could help me.     
asked by 13.09.2016 / 15:25
2
answers

convert longitude and latitude to geographical direction

Friends I want to convert the longitude and latitude that I get with this code to geographical address .controller('CtrlUbi', function($scope) { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(function(position)...
asked by 27.09.2016 / 03:44
1
answer

I want to know how to pass a django for in javascript?

This is my code: {%for obj in empaque %} celdae = {{"obj.celda"}} {%enfor%} if (document.empaque.celda.value == celdae) { alert("La celda ya esta ocupada") document.empaque.celda.focus() return false;}...
asked by 29.09.2016 / 16:40
2
answers

Modal form, javascript, ajax and php

There are three steps I'm doing: HTML > JavaScript > PHP. In one of them I'm wrong and I suspect it's in the JavaScript. My HTML: Class Modal. Apparently it works: <!-- Modal para solicitar evaluación de caso --> <div clas...
asked by 02.06.2016 / 22:31
1
answer

Error: Using $ this when not in object context

I am using PHP, and JavaScript along with the highcharts library to generate a bar graph, but I get the following error:    Fatal error: Using $ this when not in object context in   C: \ xampp \ htdocs \ graphics \ index.php on line 55 W...
asked by 11.11.2016 / 04:21
1
answer

Uncaught TypeError: $ (...) .bootstrapValidator is not a function

I am validating a field of a form with Bootstrap validator but I have an error that tells me that "Uncaught TypeError: $ (...). bootstrapValidator is not a function", add all the libraries but neither <form id="enviaConfirmada" nam...
asked by 18.03.2016 / 22:38
1
answer

Align two axes "and" at the level of 0 in C3 js

I am trying to align the Y axes with respect to the value 0, example: link I have temporarily solved it by putting a padding, but it is extremely sloppy and when re-dimensioning the graph or changing the data it is misplaced (unless the pad...
asked by 01.08.2016 / 17:01