Questions tagged as 'jquery'

3
answers

spans block does not fit the size!

I have the following code: $(document).ready(function(){ function animaTextos(){ var interval; var contador = 1; var funcao = function() { var corrente = $('div.slider ul.slide li').length; if(corren...
asked by 10.05.2018 / 19:53
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
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

image appears in explorer but you can not see

I'm uploading files with html5 , ajax and php . All is well, the recording in the bank is done, the upload is done, but the image, when you see it in windows explorer, even though it is there, but you can not see it. The name is correc...
asked by 24.05.2018 / 23:06
1
answer

Autocomplete dynamic form

I have a form that dynamically includes rows. In this form I have an autocomplete field where I select the product and add the value of the product in another input. My problem is this ... if I include two rows and select the product the value d...
asked by 24.05.2018 / 15:30
0
answers

Send synchronization request with ajax

I am using Ajax to send data via POST, the "problem" is that I do not want it to be sent asynchronously in the background, I would like to send with the same behavior as a form submit, I added the option: async:false but nothing has chang...
asked by 05.05.2018 / 21:13