Tema: PHP ajax slectbox
Autorius: lens
Data: 2012-02-03 20:11:55
Yra trys select boxai

      Technikos tipas  ------------- Žemės ūkio Zemes ukio Statybine 
technika Misko technika Kita
      Gamintojas  ---------- CLAAS BALER CLAAS COMBINES CLAAS CUTEBARS CLAAS 
GREEN LINE CLAAS TRACTORS HARDI HE-VA LEMKEN MASSEY FERGUSON TUME UMEGA
      Modelis  ------- Xerion 3300 Systemfahrzeug Xerion 3300 Zugfahrzeug 
Xerion 3800 Systemfahrzeug Xerion 3800 Zugfahrzeug Xerion 3800 
Transportspezialist Atles?946?RZ?(4?RM) (only non T3 countries) Ares 547 
Ares 557 Axion 810 CIS N2 Axion 810 Cebis N3 (CEBIS) Axion 810 CMATIC N3 CVT 
Axion 820 CIS N2 Axion 820 Cebis N3 (CEBIS) Axion 820 CMATIC N3 CVT Axion 
830 CIS N2 Axion 830 Cebis N3 (CEBIS) Axion 840 CIS N2 Axion 840 Cebis N3 
(CEBIS) Axion 840 CMATIC N3 CVT Axion 850 CIS N2 Axion 850 Cebis N3 (CEBIS) 
Arion 610 CIS N2 Arion 610 CEBIS N3 Arion 620 CIS N2 Arion 620 CEBIS N3 
Arion 630 CIS N2 Arion 630 CEBIS N3 Arion 640 CIS N2 Arion 640 CEBIS N3 
Arion 610 C Arion 620 C Arion 630 C Arion 510 CIS N2 Arion 510 CEBIS N3 
Arion 520 CIS N2 Arion 520 CEBIS N3 Arion 530 CIS N2 Arion 530 CEBIS N3 
Arion 540 CIS N2 Arion 540 CEBIS N3 ARION 400 (N0) NEW 420 Iso ARION 400 
(N0) NEW 420 Iso ARION 400 (N0) NEW 430 Iso ARION 400 (N1) NEW 410 Iso ARION 
400 (N1) NEW 420 Iso ARION 400 (N1) NEW 430 Iso AXOS 310 C AXOS 310 CL AXOS 
310 CX AXOS 320 C AXOS 320 CL AXOS 320 CX AXOS 330 C AXOS 330 CL AXOS 330 CX 
AXOS 340 C AXOS 340 CL AXOS 340 CX CELTIS 426 Farming CELTIS 436 Farming 
CELTIS 446 Farming CELTIS 456 Farming ERGOS 436 (2 WD-M?) ERGOS 436 (4 
WD-M?) ERGOS 446 (2 WD-M?) ERGOS 446 (4 WD-M?) ERGOS 456 (4 WD-M?) ERGOS 466 
(4 WD-M?) ERGOS 446 (2 WD-Hydro) ERGOS 446 (4 WD-Hydro) ERGOS 456 (2 
WD-Hydro) ERGOS 456 (4 WD-Hydro) ERGOS 466 (4 WD-Hydro) NECTIS 227 VE (2WD) 
NECTIS 227 VE (4WD) NECTIS 237 VE (2WD) NECTIS 237 VE (4WD) NECTIS 227 VL 
(2WD) NECTIS 227 VL (4WD) NECTIS 237 VL (2WD) NECTIS 237 VL (4WD) NECTIS 247 
VL (4WD) NECTIS 257 VL (4WD) NECTIS 267 VL (4WD) NECTIS 227 F (4WD) NECTIS 
247 F (4WD) new NECTIS 257 F (4WD) NECTIS 267 F (4WD) PALES 220 (2WD) PALES 
220 (4WD) PALES 230 (4WD) PALES 240 (4WD) CELTIS 436 RC CELTIS 446 RC CELTIS 
446 RX CELTIS 456 RC CELTIS 456 RX Arion 610 CIS from LT Arion 630 C from EE 
Ares 657


Antras isrenkamas pagal pirma, trecias isrenkamas pagal antra. Pasirinkau 
tipa,paskui gamintoja ir modeli.


Problema. Jei duomenu bazeje yra lietuviskos raides technikos tipas, tada Su 
IE narsykle neistraukia gamintojo. Taciau mozila su tuo susidoroja viskas 
tvarkingai.

Dabar namie bandau pasileisti, ant IE veikia, lietuviskas raides IE 
supranta, istraukia pagal pirma pasirinikma antra ir trecia. Koduotes viskas 
travkoj.

Ar yra koks IE debugeris, kad issiaiskinti kodel kaikuriose narsykles 
isrinkimas neveikia jei yra lietuviskos raides technikos tipe). Tiek darbe 
tiek namie testavau 8 IE. Sakyciau axajas blokuojamas, deja ne.

Viskas daroma per ajax, Vienas php failas selectina duomenis is db, o ajaxo 
pagalba dedama i select box. duomenu bazej irgi UTF-8, koduotes puslapyje 
irgi UTF-8, uzklausa bandziau traukiant padaryti irgi kad utf-8 butu. 
neturiu minciu. Vienu veikia kitur, dazniausiai aisku ne.

dariau pagal sita:

http://www.tutorialized.com/view/tutorial/Ajax-triple-dropdown/42712