Questions tagged as 'javascript'

1
answer

Why it does not work Var Options Min and Max in a gauge chart loop Google

I need to create multiple Chart Gauges with values max and min variables. The solution I found is to insert the values at table and within a script go through the table to get the values. The drawings appear well exce...
asked by 31.08.2016 / 11:14
1
answer

How to pass two parameters with AJAX and receive them in the controller?

How can I pass two parameters with ajax and receive them in the Controller as parameters public IHttpActionResult GetComplementoMateriaId(int id, int IdUnidad) Update: Well, it's actually a GET what I want to do, I work with pages .htm...
asked by 03.11.2016 / 16:40
3
answers

real-time validation in rails

Good morning, how could I validate a text_field in real time with js in rails? I have my validates in my model, and the validations and view of errors per field are made post submit, but how do I validate in the field itself without having to su...
asked by 04.11.2016 / 13:11
1
answer

Validate jQuery, send data with submitHandler with sweet alert

the sweet alert does not shoot at me. Maybe it's because of the event. If we comment on the sweet alert and decompose a normal alert if it tells me the message. In my index, I log in, send data to a servlet, recover the sevlet response...
asked by 20.09.2016 / 07:57
1
answer

Save function value base64 in array?

I am working on an application in ionic framework and I need to send the following object by $http by post method. $scope.project = { name: '', description:'', location: '', imgs: {}, video: '' }; I ha...
asked by 20.08.2016 / 06:44
4
answers

Get the URLs of all the elements within a div

I want to copy the urls (href) of all "a" within a div, but it has many nested elements. How would it be to copy it? This would be the example: <div id="enlaces"> <div id="tabla"> <div > <table&g...
asked by 12.10.2016 / 22:13
1
answer

Filter in JQuery

I am using the gallery jquery plugin the problem is when not all the images appear and I want that without pressing a filter, only those that I mark as "all" appear this is my HTML code <div class="categories"> &l...
asked by 18.08.2016 / 18:37
1
answer

Better language to interact with an external javascript

I am making a web page where I must use information from an external page, for this I need the page to connect with the external page with a user and its password and obtain the data that the page shows me. I have knowledge in Java but...
asked by 17.08.2016 / 14:11
1
answer

Validate multiple files with jquery

How are they? You will see I am doing a validation with jquery of uploading multiple files for which I have this in the html code: <input type="file" name="name_imagen[]" multiple="multiple" id="name_imagen"> and this with jquery:...
asked by 06.09.2016 / 20:19
2
answers

Typescript and ES6 import

I am trying to transpile a file with extension .ts to ES6 but it does not work and out of that nor does it throw me some typescript error. The problem occurs when I use the import of ES6 and do not require. Note: I have updated node. I app...
asked by 06.09.2016 / 03:38