Questions tagged as 'jquery'

3
answers

How to submit JQuery variable content to an html textarea?

I'm having a hard time sending the contents of a JS variable to a <textarea> (in a modal bootstrap) and with the XML formatting defined in the variable. Both JS and textarea are in the same html. The code is bas...
asked by 02.12.2017 / 21:14
2
answers

Height x Width - JavaScript - External Image

I need to get the height and width value of an external image, with Javascript / Jquery, that is, without being implemented in the image code.     
asked by 08.12.2017 / 02:54
2
answers

When they arrive in the first and last sliders they put the slides all as .active

I have the following slide below: $(document).ready(function(e) { const blocos = $("div.slider div.slide div"); function startslider() { ativa = $(".ativa")...
asked by 09.05.2018 / 15:46
2
answers

Change CSS with Jquery

How do I get the user to click on a particular link, change the CSS and the title? For example: I have this link: Contraste By clicking on it, change the CSS and the name of the link too, going to Sem contraste . I started...
asked by 05.05.2018 / 15:06
1
answer

Increase text size when scrolling

How do I scroll the page to increase the size of the text? I would like every%% text to increase by 50px to scroll the page to a total of 10px top. Below is Fiddle and Snippet: JsFiddle $(document).ready(function(){...
asked by 20.09.2017 / 18:16
3
answers

Required in Ajax

I have a code that requires that when I submit, some fields are required to be filled, type required in html only in Ajax, instead of using the alert as I am using it, use required as in html. Here is my code below: function...
asked by 03.09.2017 / 15:21
2
answers

Show and hide effect jquery

How do I pro jquery open only the box I clicked, without opening the others. I tried to use $ (this), but I could not. Not the way I want it.    HTML <div class="main"> <i class="icon icon-edita">Editar</i> <di...
asked by 17.01.2018 / 18:48
1
answer

Print with setInterval in the same place

I need to make sure that when "filling ..." is printed by setInterval , it's exactly the same place as the first impression. It turns out you're going down or forward. Is there any way to do this, print several times in the same place in 3...
asked by 02.09.2017 / 02:10
1
answer

Value not being taken via POST

No index.php has 1 field input that sends a value by ajax , which should be read by cdb.php . index.php: <script type="text/javascript"> $(document).ready(function(){ $("#formulario").on("...
asked by 17.01.2018 / 13:29
1
answer

Color change on chart with ChartJS not working

Could you please help me in the case below? I'm trying to change the color of the chart to red, but the change is not working. Code:functionDevolucao(){if(CicloAtual!="") { var codCli = $("[id$=txtCodigo]").val(); var ciclos = Arr...
asked by 06.09.2017 / 16:19