JQUERY : Auto Complete atau auto suggest

/*Fungsi Auto Suggest untuk mencari obat*/
function autoSuggest_obat() {
$("#obat").autocomplete(site+"/apoteker/obat/autoSuggest_obat", {
width: 250, // lebar auto suggest
selectFirst: false,
scroll:true,
max:100 // yang ditampilkan maksimum 100 auto suggest
});
}

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: