Questions tagged as 'jquery'

2
answers

How do I get the value of one input and assign it to another?

I have a form with multiple input that follows a pair sequence, ie: value1 for cost1, value2 for cost2 and etc ... I need to get the input value value1 and assign the same value to cost1. But I have several inputs and think of creating a s...
asked by 18.02.2016 / 18:17
1
answer

FadeIn only in elements loaded by Ajax with append

I have a div that contains 12 jobs and a button down (see more) that loads 12 more jobs, the problem is that if I try to $('#wrapperTrabalhos').append(data).hide().fadeIn(); all div ( #wrapperTrabalhos ) does fadeIn, the hide()...
asked by 14.11.2014 / 17:07
1
answer

Fade out on the div but not on your children with jQuery

I have this code, but I would like #navBar to suffer fadeOut, #menuBt and #hi to be always visible, is it possible? HTML: <div id="navBar"> <div id="hi"></div> <div id="menuBt"><h3>...
asked by 14.11.2014 / 13:28
2
answers

Start DatePicker with current day

I have a record where I have two dates: DataInicial and DataFinal , I'm using DataPicker to insert both, how can I leave DataInicial always with today's date, I can not allow retroactive dates. I saw some tips like thi...
asked by 12.11.2015 / 13:37
2
answers

How to pass another parameter and value with another variable via post?

I need to send a new variable, using jQuery , to the neighborhood.php file, how do I? I have a hidden input that contains the idcl variable that contains client data: <input type="hidden" name="idcl" id="idcl" value="<?php echo...
asked by 10.12.2015 / 10:45
1
answer

Insert result of a script or the code of a script into a div

How do I load a script into a page, the result appears in div ? Example: <script type="text/javascript"> /* conteúdo do script */ </script> <div id="script" class="000000"></div> The goal is for scr...
asked by 18.08.2014 / 01:40
1
answer

Uploading photos

I'm doing a photo upload system and it bugou! When I add the first photo it will be fine, but if I try to change the photo again it does not do the default action anymore ... JSFiddle <div id="exibirfoto"><img src="$row[foto]" id...
asked by 28.08.2014 / 16:56
2
answers

Put a value inside the 'val' of jquery [closed]

What is the right way to mount this line? $("#rastreo").val('BR'<?php echo date("hYmdi"); ?>json[0].estado); The crawl ID is an input field.     
asked by 28.09.2015 / 19:43
1
answer

Next and Prev Arrows in Slider

I'm trying to change my image using the NEXT and PREV arrows. HTML <div id="imagem-galeria"> {!! Html::image('img/quem-somos/galeria/foto-grande-1.jpg', 'Peças Colhedora de Cana', ['class' => 'img-main']) !!} {!! Html::...
asked by 22.09.2015 / 14:28
2
answers

Measure time that the user is logged into the system

I need to know how much time the user has spent on the system. In other words, how long it stays, from the moment you login , until logout OR close the browser / etc. I do not even know how to start. I thought through cookies or...
asked by 08.09.2014 / 22:11