Jump to content


Photo

AJAX !?


  • Please log in to reply
7 replies to this topic

#1 feri_soft

feri_soft
  • Members
  • PipPipPip
  • Advanced Member
  • 147 posts

Posted 02 September 2006 - 01:12 PM

How to create with ajax something like this..

1 select in the form and when someone choose and option from the select in another multiple select new values are generated that match the first select.

Example

cat1              --> options 1 2 3
cat2              --> options 4 5 6
cat3            --> options 7 8 9


And when categories are changed in the first select....options are changed in the second

REquered thing is that the script supports name[] values for form elements names to use later in php array and most important to support cyrylic charset ( windows-1251 )

because i tried one ajax example but it didnt support this charset only english...

Help needed very much

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 02 September 2006 - 01:20 PM

You might want to check out AjaxFreaks!! -> http://www.ajaxfreaks.com/
Legend has it that reading the manual never killed anyone.
My site

#3 feri_soft

feri_soft
  • Members
  • PipPipPip
  • Advanced Member
  • 147 posts

Posted 04 September 2006 - 10:06 AM

NO answear there....

#4 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 04 September 2006 - 02:03 PM

REquered thing is that the script supports name[] values for form elements names to use later in php array and most important to support cyrylic charset ( windows-1251 )

because i tried one ajax example but it didnt support this charset only english...


Change the charset in your browser, or set it with a header.

#5 feri_soft

feri_soft
  • Members
  • PipPipPip
  • Advanced Member
  • 147 posts

Posted 05 September 2006 - 01:45 PM

Bu the problem is that when i look to the breowser charset its correct...

#6 Daniel0

Daniel0
  • Staff Alumni
  • Advanced Member
  • 11,956 posts

Posted 05 September 2006 - 02:41 PM

Are you sure? Try sending a header like:
Content-type: text/html; charset=windows-1251

(both on the page your script calls, and the page containing the script)

#7 feri_soft

feri_soft
  • Members
  • PipPipPip
  • Advanced Member
  • 147 posts

Posted 05 September 2006 - 06:28 PM

I use this tutorial:
http://www.dhtmlgood..._chained_select

Tried withheaders but nothing...can you have a look

#8 feri_soft

feri_soft
  • Members
  • PipPipPip
  • Advanced Member
  • 147 posts

Posted 06 September 2006 - 07:28 AM

any ideas??




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users