Questions tagged as 'javascript'

1
answer

How to access the read value of pureComputed

I would like to know how I call the read function. When I write in value: valueView it calls the write function but I want the call to read at the end of the function. Is there a method to warn read? <input type="text" data-bind="val...
asked by 16.06.2016 / 07:24
1
answer

Conditional ng-if cycle using http service on angularjs

I have an http service and with the code I have received 5 ids. I would like to call them using a scope using a cycle if , the json format has as property isFile that if it is false it is a folder and if it is true it is a file. My...
asked by 17.06.2016 / 04:19
1
answer

Substitute Div in Time Interval without transitions

I would also be happy to replace characters directly in cyclical time intervals if you think it's cleaner. Here is the code that I'm working with. jQuery(function () { var $els = $('div[id^=picture1]'), i = 0, len...
asked by 13.03.2016 / 14:16
1
answer

Keep div hidden until it does not go through a fixed height (neither nor =)

With the following code my Div appears from 1000px but if I do it disappear passing the pointer over any height reappears as soon as the scroll advances 1px and what I want is for the div to ONLY reappear when the scroll passes for 1000px. Thank...
asked by 16.03.2016 / 20:06
1
answer

Validate a radio input with a loop for inside another loop if [closed]

... and make it work: leaving the radius in null, you should skip the alert. But it does not and validates. else if(false){ function check(){ var r= document.getElementsByName("e"); var e= -1;...
asked by 20.02.2016 / 00:22
2
answers

TinyMCE 4 get id generated for div

I would like to know how I can get the id that is generated for the div in tinyMCE 4. I know it's done through the setup method, but I can not do it. I use the following: tinymce.init({ selector: '#selector', setup: function(editor)...
asked by 21.02.2016 / 17:56
2
answers

Indicate HTML5 APP languages to publish in "Windows Dev Center"

I am developing an HTML5 APP with " Intel® XDK " and uploading it to the " Windows Dev Denter " indicates that the language is " en-US ". Neither in the XDK nor in the Dev Center "options do I see where to edit the languages. How can I...
asked by 14.02.2016 / 18:20
1
answer

Problem with Ajax form in Django Template [closed]

How can I access the dictionary if django makes the key unique, since it is necessary to send a json with arrays? This is my Ajax code in a Django template <script type="text/javascript"> function RegistrarAperturacaja(){ alert($...
asked by 03.03.2016 / 20:55
4
answers

How to keep the values of a calculation with inputs in Javascript?

I want to calculate the OHM law (i = v / r) and I have three <input> and one button with onClick="dividir()" to call the next function in my HTML: function dividir() { v = document.getElementById("voltaje").value; r...
asked by 29.02.2016 / 19:13
1
answer

Limit to x number of entries when exported with DATATABLES.JS

That, someone knows how I can limit the number of data to export when I use the tableTools library, let's say that if I use 100 entries I only copy or export those 100 entries, since when I copy or export I usually copy more than 500 records fro...
asked by 15.06.2016 / 16:43