Response title
This is preview!




<script type="text/javascript">
$(document).ready(function () {$('.QuickSearch').each(function (index, value) {
var QuickSearchURL = $(this).attr('qsURL');
var QuickSearchWidth = $(this).attr('qsWidth');
$(this).css('width', QuickSearchWidth);
$(this).autocomplete({ source: function (request, response) { $.ajax({url: QuickSearchURL,
data: "{ 'filterby': '" + request.term + "','CONID':'" + getQuerystring('CONID') + "'}",
dataType: "json", type: "POST", contentType: "application/json; charset=utf-8",dataFilter: function (data) { return data; },
success: function (data) { response($.map(data.d, function (item) { return { label: item.label, value: item.value} })) },
error: function (XMLHttpRequest, textStatus, errorThrown) { alert(textStatus); }});
},
minLength: 1,
autoFocus: true,delay: 0,
appendTo: 'form', select: function (event, ui) {var submitpostaback = $(this).attr('qsPostBack');
var postbacktype = $(this).attr('qsType');
var selectedValue = ui.item.value; $(this).val(selectedValue);if (submitpostaback == 'true') {
if (ui.item) {__doPostBack('SEARCHCOMPLETE', selectedValue + '|' + postbacktype);
}
}
}
});
});
});
function getQuerystring(key, default_) {if (default_ == null) default_ = "";
key = key.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
var regex = new RegExp("[\\?&]" + key + "=([^&#]*)");
var qs = regex.exec(window.location.href);if (qs == null)
return default_; else return qs[1];}
</script>
select: function (event, ui) { var submitpostaback = $('#hidSubmitPostback_PemitMain').val(); $('#hidSelectedValue_PemitMain').val(ui.item.value); $('#txtQuickSearch_PemitMain').val(ui.item.value); if (submitpostaback == 'TRUE') { if (ui.item) { javascript: __doPostBack('<%= btnQuckSearch.UniqueID %>', ''); } } }
$('.DDialog').dialog( { position: 'center', hide: 'explode', show: 'puff', autoOpen: false, draggable: true, resizable: true, stack: false, modal: true, buttons: { ok: function (event, ui) { $(this).dialog('close'); } }, height: 'auto', width: function (event, ui) { $(this).css('width'); }, maxHeight: 750, open: function (event, ui) { $(this).attr('dialogstatus', 'open'); LogDialogStatus(); }, close: function (event, ui) { $(this).attr('dialogstatus', 'closed'); LogDialogStatus(); } });
<div id="DefaultDialog_01" class="DDialog" title="PRIVACY POLICY" style="width: 900px;" dialogstatus="closed" runat="server" clientidmode="Static"> <uc1:Privacy ID="Privacy1" runat="server" /> </div> <div id="DefaultDialog_02" class="DDialog" title="TERMS OF USE" style="width: 900px;" dialogstatus="closed" runat="server" clientidmode="Static"> <uc3:TermsOfUse ID="TermsOfUse1" runat="server" /> </div> <div id="DefaultDialog_03" class="DDialog" title="SECURITY" style="width: 900px;" dialogstatus="closed" runat="server" clientidmode="Static"> <uc2:Security ID="Security1" runat="server" /> </div>
© 2012 jQuery Foundation
Sponsored by
and others.
