Questions tagged as 'jquery'

1
answer

activate onclick on the Select of a form

I need to do that with clicking select select popup but it is not working, input works normally $("#alert_button").click( function() { jAlert('Selecione Primeiro o Estado', 'Classificados Publico'); }); <input id="alert_butto...
asked by 15.10.2014 / 01:27
2
answers

How to hide href with jQuery while input file is not selected?

I have a% of image upload% where the user before doing an update on the avatar image or profile cover, he visualizes (in the same form) his registered image or a system default. It turns out that my form has an "onchange" and my inp...
asked by 24.04.2014 / 02:38
1
answer

Value as Object when selecting item in Select2

The Select2 plugin works normally, the only problem is when I make the item selection the value set in the hidden (mandatory to bring data via AJAX) stays as [Object Value] and not the value specified by the format. Follow form...
asked by 24.07.2014 / 15:41
1
answer

Call Javascript function with onclick with content loaded div

I have a div that has its content loaded after loading the rest of the page. It is called by a button via AJAX. I have another button inside this content that would call a Javascript function to confirm a page targeting. But when it's ins...
asked by 28.04.2014 / 14:31
1
answer

Is it possible to slow the scroll speed from a certain section of the page?

I have a single page project, where when scrolling down, it will make a drill animation piercing the layers of the earth, until at last, when drilling the water, the screen automatically rolls to the top. It happens, that when I get to the water...
asked by 01.09.2014 / 22:46
1
answer

Execute a function 100 milliseconds after an animation starts

I have the function that changes the opacity of several elements with class .single-product to 1 . My problem is that whenever the page loads, this function will run an animation for 500 milliseconds and after that it performs the s...
asked by 01.09.2014 / 20:26
3
answers

Run jQuery on button onclick

How to call jQuery directly in the onclick of button? , for example: <input type="button" id="btnteste" onclick="$("#IDdoTextBox").spectrum("set", $("IDdoCampo").val());" /> And it does not work, it does not return error or an...
asked by 02.04.2014 / 22:10
2
answers

Simulate a keyboard key when you lose focus

I would like to know how to simulate a keyboard key (in my case the enter key), but in the case of Jquery. But it has to simulate when leaving an input for example. Follow link with another post from mine which has related images.     
asked by 28.03.2014 / 13:18
1
answer

Retrieve textarea value in form .serialize ()

I've always used generic function, but I'm having a problem retrieving the value of textarea . I use a text editor in textarea , the CkEditor . Here is the function I'm using: function sendPost(form, action, callback) { aja...
asked by 03.04.2014 / 15:53
2
answers

Apply effect only on target element

I have this html of registered cards: .lista-cartoneira h1 { font-size: 1.2rem; margin: 12px 0 12px 0; font-weight: 500; } .lista-cartoneira h2 { font-size: 1rem; margin: 12px 0 12px 0; } .lista-cartoneira...
asked by 20.11.2018 / 13:21