Questions tagged as 'jquery'

1
answer

How to make a select html load a list of options each time another select change selection?

I need to have a select load a list of option each time on a previous select change of selection. I know I will use JavaScript to do this, but how? Follow the code: <b>Área:</b></td> <select name="area" id="area">...
asked by 30.03.2016 / 17:08
2
answers

Change label class (icon-font) with click

I'm using iconfonts in a drop-down menu, where the link looks like this: <li class="abre-dropdown"><a href="javascript:void(0)"><label style="float:left;" class="icon-location"></label>Nossa casa<label class="icon-do...
asked by 05.01.2016 / 17:17
1
answer

Div Floating in Bootstrap 3 following Scroll

Good morning! I have the following code: <div class="container"> <div class="row"> <div class="col-md-5"> <?php $hostdb = "**********"; $userdb = "**********";...
asked by 05.01.2016 / 16:19
2
answers

How to enable onclick after a jquery? [duplicate]

I have botões that are mounted dynamically via jquery , it happens that on the main page I have events of these botões , but since they do not exist yet at the time of loading the page the events are not loaded, I needed do...
asked by 04.11.2016 / 14:44
1
answer

Get value from a specific input using AJAX

Next, I have a form that will be sent with AJAX, however the URL will vary according to the ID, eg: site.com/ajax/remove/100 <- ID site.com/ajax/remove/200 <- ID This value of the ID is in a hidden field of the form, how can I get thi...
asked by 15.11.2016 / 00:28
3
answers

ScrollTOP with the field that is in focus

I need to know the px size of the input field with focus at the top of the screen. To give a scrollTOP and the field in focus stay at the top of the screen. The problem idea is as follows: I'm working on mobile, and I'm using hybrid method...
asked by 14.10.2015 / 20:38
1
answer

Equivalent to Javascript's PHP list ()

Is there a JavaScript function equivalent to list() of PHP? Suppose this JSON: { "ALERTA":[ { "TITULO":"Erro!", "MENSAGEM":"Seu nome parece estar incorreto" }, { "TITULO":"Erro!...
asked by 06.08.2016 / 09:55
2
answers

Input name with dynamic name

I want to create a form with a variable number of inputs, according to the amount of data coming from a DB and assign them to the "name" unique names. Then I need to submit this form and retrieve the data via POST. I thought I'd do somethi...
asked by 03.11.2015 / 03:13
2
answers

Pass form values to Ajax

How do I pass form values to PHP with Ajax? JS (without passing values) $(function() { if ($('#javascript-ajax-button').length !== 0) { $('#javascript-ajax-button').on('click', function(){ $.ajax(url + "/login/ajaxLogin") // ISS...
asked by 18.07.2015 / 23:09
3
answers

Event when mouse is pulled from window [closed]

Can anyone help me? I need a "light", which tells me how do I make a modal appear on the screen when I take the mouse from the window, just like that site: link     
asked by 15.08.2017 / 22:07