Jump to content

Archived

This topic is now archived and is closed to further replies.

feri_soft

AJAX !?

Recommended Posts

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

Share this post


Link to post
Share on other sites
You might want to check out AjaxFreaks!! -> http://www.ajaxfreaks.com/

Share this post


Link to post
Share on other sites
[quote author=feri_soft link=topic=106617.msg426486#msg426486 date=1157202779]
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...
[/quote]

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

Share this post


Link to post
Share on other sites
Are you sure? Try sending a header like: [code]Content-type: text/html; charset=windows-1251[/code]

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

Share this post


Link to post
Share on other sites
I use this tutorial:
http://www.dhtmlgoodies.com/index.html?whichScript=ajax_chained_select

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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.