Anasayfa arrow Ajax Örnekleri arrow Ajax ile suggestion örneği

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180

Warning: is_writeable() [function.is-writeable]: open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/home/ajaxkayn:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/ajaxkayn/public_html/mambots/system/blueflame/bfLog.php on line 180
Ajax ile suggestion örneği PDF Yazdır E-posta
Yazar Administrator   
Çarşamba, 31 Ekim 2007

Google toolbarlarınızda arama yaparken toolbarın otomatik tamamlama özelliğini gibi sitenizdede otomatik tamamlama kullanabilirsiniz.
 


Eğer deneme amaçlı kuracaksınız. veritabanını oluşturduktan sonra create-countries.php dosyasını düzenleyip(veritabanı bilgilerini girip) tarayıcınızdan çalıştırınız

Demo: Ajax - dynamic list

Bu örnekteki script , verileri vertabanından çekmektedir. İlk olarak ajax-list-countries.php dosyasından hangi veritabanından, hangi tablodan veri çekmesini istiyorsanız ayarlamalısınız.

Bir text alanına uygulanmasına gelince

 

<input type="text" id="country" name="country" value="" onkeyup="ajax_showOptions(this,'getCountriesByLetters',event)">

 

bir örnektir.

ajax-dynamic-content.js dosyasından da genel ayarları düzenleyebilirsiniz.

var ajaxBox_offsetX = 0;
var ajaxBox_offsetY = 0;
var ajax_list_externalFile = 'ajax-list-countries.php'; // verilerin çekildiği dosya
var minimumLettersBeforeLookup = 1; // veritabanından kontrole başlamadna önce kaç harf girilmesi gerektiğini belirtir

kaynak dosyayı buradan indirebilirsiniz.

Please Enter New Tags Separated By Comma's
  Or Close

Powered by Joomla Tags
Valid XHTML 1.0 Transitional

Son Güncelleme ( Çarşamba, 31 Ekim 2007 )
 
< Önceki   Sonraki >