hi guys I have following jquery:
<script type="text/javascript">
$(document).ready(function () {
SearchText();
});
function SearchText() {
$(".csSearch").autocomplete({
source: function (request, response) {
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "WebService.asmx/GetCountries",
data: "{'prefixText':'" + $('.csSearch')[0].value + "','Flag':'" + $('.cslbl')[0].innerHTML + "','val':'" + $('.csdrpsrc')[0].value + "'}",
dataType: "json",
success: function (data) {
response(data.d);
},
error: function (result) {
alert("Error.....");
}
});
}
});
}
</script>
I have used it for auto-complete textbox but now I want to return those results to div to apply proper CSS effect to it.
I have this simple div:
Thanks in advance.