Questions tagged as 'javascript'

1
answer

How do I access this Json?

{ "success": { "data": [ { "IdContribuinte": "1", "IdContribuinteTributario": "1", "IdUsuarioAnalisando": null, "DataAtualizacaoTributario": null, "DataImportacao": "2018-01-12 14:09:26.507",...
asked by 11.05.2018 / 00:37
0
answers

force autoplay on audio player

With the new update of chrome the function autoplay of the audio does not work, I would like to know how to force autoplay, already tried it: document.getElementById("controles").setAttribute('autoplay', true); So: $("#controles")[...
asked by 12.05.2018 / 18:46
1
answer

href with target blank in jQuery

I have an image inside a div.facebook that receives clike mouse and redirects to an external page: $("div.facebook img").click(function() { $(location).attr('href','http://www.facebook.com'); }); I happen to want it to open i...
asked by 12.05.2018 / 21:54
0
answers

Product Combo and play value in inputText

I am developing a DOCUMENT registry with parameters like Material, Name and other data. And as it will work, I make a normal PRODUCT registration with Material and Name parameters and in the registration screen of the DOCUMENT I want to open a c...
asked by 27.05.2018 / 00:36
1
answer

Dropdown menu with propagation problem

Can anyone help me understand why clicking on the menu options sometimes causes the container to lose the hover and close the container? Below is my code: <style> ul.nav-menu__consultora, ul.nav-menu__consultora ul{ padding: 0...
asked by 27.05.2018 / 18:10
1
answer

Varying value of a modal function within javascript

I have a password change field in a modal, in this field I have a function in java script that shows the password when clicking on the icon, as I am in a modal the function works only in the first user of the list, because, the code understands...
asked by 28.05.2018 / 04:30
3
answers

How do I change the border color of the input tag when selected

How do I change the border color of the checkbox when, for example, option 1 is selected? Given my html code: <div class="opcao-de-entrega"> <p class="menu-opcoes-titulo"> Opções de entrega </p> &l...
asked by 24.05.2018 / 21:18
1
answer

Javascript return result for Controller

Good afternoon. I have a page with a jquery multselect ( Link ). In this multselect there are 2 list, one with all the heats and another with the values selected. When you edit this register, you select the values you want to assign to the...
asked by 24.05.2018 / 22:36
1
answer

Specific image in a modal window

I have a code that takes all the images in a directory: <script> var folder = "img/"; $.ajax({ url: folder, success: function (data) { $(data).find("a").attr("href", function (i, val) { if (val.match(/\.(jpe?g|pn...
asked by 24.05.2018 / 01:13
0
answers

Updating Table

I have a form that receives all the data from the database and has the option of deleting that desired data. I would like to know if there is any way that when the user clicks Delete the page would already update with the new table.     
asked by 08.05.2018 / 17:51