Click here to Skip to main content
15,038,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i have jquery which process or worked when we select item after it search item.
function SearchText() {
    source: function (request, response) {
            type: "POST",
            contentType: "application/json; charset=utf-8",
            url: '<%=CallingPage %>' + ".aspx/GetAutoCompleteData",
            data: "{'strSearchString':'" + document.getElementById('txtsearchcourse').value + "'}",
            dataType: "json",

            success: function (data) {
                response($.map(data.d, function (item) {
                    return {
                        label: item.split('##')[0],
                        val: item.split('##')[1]
            error: function (result) {
    select: function (event, ui) {
        document.getElementById('hdnSelectedCourseId').value = ui.item.val;
        document.getElementById('txtsearchcourse').value = ui.item.label;

but its not working in safari browser its not getting click & process item. what is problem ???
manak chand 20-Feb-15 8:36am
What error you are getting...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900