|
|
อยากเปลี่ยน คำที่มีในฟังช์กัน ให้มาจากดาต้าบเสอ่ะค่ะ ต้องทำไงหรอค่ะ
function createAutoComplete()
{
var aNames =
[
"Aaron", "Abbott", "Abdallah", "Abdul", "Abdullah", "Abe", "Abel", "Abiba", "Abie", "Abner", "Abraham", "Abram", "Absalom", "Abu", "Ace", "Ackeem", "Adair", "Adalberto", "Adam", "Adan", "Addison", "Ade", "Adem", "Aderes", "Adie", "Adiel", "Adita", "Adlai", "Adolf", "Adolfo", "Adolph", "Adonia", "Adonis", "Adrian", "Adrien", "Agustin", "Ahmad", "Ahmed", "Aidan", "Aiden", "Airen", "Aislinn", "Aj", "Ajani", "Ajay", "Akeem", "Akil", "Akuji", "Al", "Alain", "Alake", "Alan", "Alaric", "Alastair", "Alban", "Albany" ];
new autoComplete(aNames,document.getElementById('txt'),document.getElementById('suggest'),10);
}
Tag : - - - -
|
|
|
|
|
|
Date :
2009-04-01 12:56:35 |
By :
pom |
View :
958 |
Reply :
1 |
|
|
|
|
|
|
|
|
|