Skip to main content

Search and Top Navigation

#10759 closed bug (notabug)

Opened January 16, 2015 02:28AM UTC

Closed January 16, 2015 05:32PM UTC

jquery autocomplete is not working on second time popup for datepicker

Reported by: krishna Owned by: krishna
Priority: minor Milestone: none
Component: ui.core Version: 1.11.2
Keywords: Cc:
Blocked by: Blocking:

this is my code:


<input type="text" name="submission_from_date" placeholder="Submission From Date" class="ui-body-d datepicker" id="submission_from_date" />

<input type="text" name="submission_to_date" placeholder="Submission To Date" class="ui-body-d datepicker" id="submission_to_date" />


<script type="text/javascript">

$("#main").bind("pageshow", function (e) {


target: $('#filterPropertySuggestions'),

link: 'target.html?term=',

minLength: 0,

matchFromStart: true,


callback: function (e, ui) {

var $a = $(e.currentTarget); access the selected item

var propertyId = $'autocomplete').value;





var apiParams = "propertyId=" + propertyId;


$('#filterProperty').val($a.text()); place the value of the selection into the search box

$("#filterProperty").autocomplete('clear'); // clear the listview




Attachments (0)
Change History (2)

Changed January 16, 2015 04:10AM UTC by scottgonzalez comment:1

owner: → krishna
status: newpending

This is not enough information. Please provide a usable reduced test case as described in the red box.

Changed January 16, 2015 05:32PM UTC by scottgonzalez comment:2

resolution: → notabug
status: pendingclosed

Actually, looking at the code provided, this is clearly not jQuery UI's autocomplete widget.