Questions tagged as 'javascript'

1
answer

Mark / Uncheck all checkboxes except disabled

In this script below it marks and unchecks all checkbox but would like that when a checkbox is "checked" and "disabled" does not change anything. The problem is that I do not know how to do this, would anyone have an idea? <input type="ch...
asked by 23.03.2016 / 19:56
2
answers

checkbox in dynamic array field

I found a code in one of the questions in the forum, function criarTabela(conteudo) { var tabela = document.createElement("table"); var thead = document.createElement("thead"); var tbody=document.createElement("tbody"); var thd=fun...
asked by 31.03.2016 / 00:06
1
answer

How to hide an input field from another page via javascript?

Scenery I have two page .html . In one of the pages I have two options to mark radio both have id , they are XPTO and YPTO e. What I need to do is, when choosing XPTO and then pressing the sign up button, it has to disa...
asked by 27.01.2016 / 20:48
1
answer

I can not open modal (dialog)

I was using a bootstrap template, but as it was patchy (they had not paid) the company bought another bootstrap. But the way I rode the mode before does not work anymore. I can not open the template template with the data I need for editing....
asked by 22.01.2016 / 13:15
1
answer

Error retrieving json on php side

Well, I am sending a json to php but I can not recover $.ajax({ type: "POST", url: "sys/salvar_servidor", datType: 'json', data: JSON.stringify(dados), success: function( data ){ document.write(data); } }); A...
asked by 29.12.2015 / 12:36
2
answers

Update a specific DIV without refreshing the page

How to update a DIV without giving refresh on the whole page? Previously in rails 2.3.10, the 'remote_function' was used to update an existing div. Now in rails 4.2, since you no longer have the remote_function, how can I do that? Ex: W...
asked by 17.02.2016 / 16:43
2
answers

Leaflet Map - Access extends

Hello, I'm using the "Angular Leaflet Directive" directive ( link ) with Leaflet map. My question is the following, is there the possibility of inserting some variable or scope in this extension? angular.extend(vm, { // ESTENDE AS PROPR...
asked by 19.01.2017 / 19:21
1
answer

Modal loading during jquery delayed function

I have a function in jquery that takes a while and a large while and I would like to do a loading mode during that time, how can I do that? $.each(dataExport, function (i, item) { $("#Export").append('<tr>\n\...
asked by 18.01.2017 / 12:45
1
answer

Unknown error caused by videojs library

The script works fine, but the console is giving the following error:    '// @ sourceURL' and '// @ sourceMappingURL' are deprecated, please use '// # sourceURL =' and '// # sourceMappingURL =' instead.   video.js: 86 Uncaught (in promise) DO...
asked by 31.08.2016 / 16:34
3
answers

Refresh DIV Automatically (autorefresh) without refreshing entire page [duplicate]

I would like to know if there is a way to only update a div automatically every x seconds without having to refresh the whole page would it be possible?     
asked by 20.01.2017 / 02:46