Questions tagged as 'jquery-ui'

1
answer

Get the value of a li and create an input hidden with the value when the li is clicked

Good morning, gentlemen, I'm having a hard time taking action. I want it when clicked on the li, it adds in the div #form an input type hidden with the value of li. and that this happens only when you click once. <div id="selecao">...
asked by 04.08.2015 / 16:22
1
answer

search product / property with autocomplete and populate content dynamically with php and mysql

I'm developing a quick search field with autocomplete of jquery ui, php and mysql. The autocomplete works perfectly though, I'd like to do it another way. When the user starts typing in the field the display window is filled with real estate rel...
asked by 26.08.2015 / 19:24
2
answers

Date picker opens alone when changes neighbor input

Good morning, I have the following code: var maxDate = new Date(); maxDate.setDate( maxDate.getDate() + 364); $(".dtpBloqueio").datepicker( { numberOfMonths: 2, dateFormat: 'dd/mm/yy', maxDate: maxDate }); When you change an in...
asked by 03.09.2014 / 15:43
1
answer

Drag & Drop JQuery UI how to hide Div after drop?

I'm trying to do the following operation, I have 3 divs a Droppable and 2 Draggable, I want that when I drag one of the draggables and drop on top of the droppable Draggable is hidden from being displayed on the screen. <div id="" class="dro...
asked by 24.05.2014 / 13:31
1
answer

I added a class with JQUERY and tried to use it to trigger a function, but it did not work, what's wrong?

Hello everyone! I am an industrial designer (designer and illustrator) for training and not a programmer, but I really like learning and programming, you see, I'm a curious person! I'm trying out a jQuery plugin for client-side translations on...
asked by 30.08.2018 / 00:25
1
answer

How to use touch event on iPad with ui-draggable and ui-resizable?

I'm using the following library: //code.jquery.com/ui/1.11.4/jquery-ui.js But when I put it to Mobile or iPad, it stops working, is there any way to get around the problem? Javascript: $(".container .item") .draggable({...
asked by 03.01.2018 / 21:45
1
answer

Auto-complete jQuery error with image

I have this code in jquey and PHP , I need the product image to appear in the auto-complete along with the name in the #resultado div. I put console.log() to see if it was looking for the information, and they are, it just is not showi...
asked by 10.08.2017 / 13:18
1
answer

Help with JavaScript filter

I have the following JavaScript code: JSON var json = { "tpAmbiente":null, "hotelPesquisa":[ { "dtEntrada":"20170510", "dtSaida":"20170511", "hotel":{ "id":94...
asked by 10.05.2017 / 20:44
1
answer

Select the current date in the DataPicker

Colleagues, How do I make the datePicker the current date be checked and change the previous dates that are disabled? See: Iwasabletodisablethepreviousdatesusingthecodebelow,buttheyturnblackandconfuseandthecurrentdateisnotmarked.<!--da...
asked by 18.06.2017 / 23:55
2
answers

Datapicker in Portuguese

I need to put a datapicker on a page, the same should be in Portuguese and in "dd / mm / yyyy" format. <div class="form-group col-md-2"> <input type='text' class='form-control datepicker' name="datefilter" id='data' placeholder='...
asked by 11.12.2016 / 16:55