Questions tagged as 'jquery'

1
answer

Returning Ajax request undefined

I'm studying a bit of Ajax and testing your requests. My question is because of the return, it is coming back undefined. This is the function: function recarregar() { var jsonData = $.ajax({ url: "http://xxxxxxx/o/Ano/1235",...
asked by 21.02.2018 / 15:25
1
answer

Which combo box was selected inside a form

Hello, Within a form I have 4 combos <select name="combo1" ><option value="combo1">Combo 1</option> </select> <select name="combo2" ><option value="combo2">Combo 2</option> </select> <select n...
asked by 31.01.2018 / 17:37
2
answers

Mirror inputs with their values

Is it possible for jquery to understand the elements of an array value coming from the html? ps: I do not know if it is correct to say that in html there is an array. I am creating with html and jquery a dynamic input that is having the v...
asked by 30.01.2018 / 19:59
2
answers

Attach Dropdowlist Item and a li asp.net mvc

I have a View with dropDowlist that contains data that comes from the database and right down I put a buttom that when I click it will attach the selected dropdownlist item to a list, I made a code here but it is not appending if I putting defau...
asked by 01.02.2018 / 01:42
3
answers

Remove class when doing Scroll Up with JQuery

In Jquery how to remove a CSS class when the mouse scroll goes up ? I'm doing this way more is not working out $('html, body').animate({scrollTop:0}, 800, function(){ $("#texto_posicao").removeClass("classecss"); });     
asked by 07.02.2018 / 13:33
1
answer

Select2 does not work on my pc but works on jsfidle

This code is in jsfidle, that is, it shows the stylized select and select it with an input search. <html> <head> <title>TESTE</title> <script src="https://ajax.googlea...
asked by 06.02.2018 / 02:00
1
answer

How to execute event just after the $ ('div'). load (url)?

I want to know how to do $('#div-search').on('load', ()=>{alert('carregou');}); I have a div where there are several $('#div-search').load(url) in the code. however now I need to perform a series of validations after l...
asked by 07.02.2018 / 15:57
2
answers

How to perform scroll event only when clicking on a certain element?

When I click anywhere on the site, it does the scrolling animation for the #text_text_position. How to make it so that only when you click on the element do the animation? $(window).on("resize click",function(){ $('html, body').stop();...
asked by 07.02.2018 / 14:23
3
answers

Insert Tags by Console

I need to insert Tags into a site through the console. To be more specific, I want to add a TAG <iframe></iframe> . I have already tried to use document.createElement('tag') , after that add the attributes of the tag b...
asked by 29.01.2018 / 15:47
1
answer

TEXTAREA Event Resize

I want a way to get the textArea event when it is clicked on its resize arrow.     
asked by 06.02.2018 / 02:20