AnanthaKN / jquery-in-place-editor

Automatically exported from code.google.com/p/jquery-in-place-editor
Other
0 stars 0 forks source link

Autocomplete text-field #116

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
    // The most basic form of using the inPlaceEditor
    $("#edit_field").editInPlace({
        url: '_update.php',
        params: "",
        saving_image: "../img/ajax-loader.gif",
        success : function(server_response){
            window.location.reload(true);
            //$('#report').html(server_response).show();
        },
        show_buttons: true
    }).click(function(){    
        $(this).find('.fieldname').autocomplete({
            source: "search.php",
            minLength: 2
        })
    }); 

I am trying to get the jquery autocomplete function to work on the input 
fields. it stops with an error -autocomplete is not a function -
The ui scripts are loaded correctly. I can edit and save the field value.

Can someone help me out ?

Original issue reported on code.google.com by mwith...@gmail.com on 26 Aug 2012 at 9:16

GoogleCodeExporter commented 8 years ago
http://stackoverflow.com/a/12756195/59087

Original comment by dave.jar...@gmail.com on 6 Oct 2012 at 2:32