Jump to content

ComboBox Handlig?


mrkamran

Recommended Posts

Hi,
I have a Combobox in my php file and there is another combobox which will fill based on first combobox. For example First ComboBox has Main Category and Second ComboBox has Sub Category, When i will select an option from main category then sub category will fill on the base of main category. I want to do this without submitting the form.
Thanks
Link to comment
Share on other sites

AJAX is basically just a set use of javascript functions
it's more of a strategy than a programming language

no I'm not going to write the code for you.
search the forums for AJAX...you're sure to find an example to work from
not necessarily for combo boxes but at least some good learning material
try this thread for example
http://www.phpfreaks.com/forums/index.php/topic,115581.0.html

if you really need someone to write it all for you...post in the Freelancing board
Link to comment
Share on other sites

[quote author=mrkamran link=topic=117997.msg481827#msg481827 date=1165695809]
Hi,
I have a Combobox in my php file and there is another combobox which will fill based on first combobox. For example First ComboBox has Main Category and Second ComboBox has Sub Category, When i will select an option from main category then sub category will fill on the base of main category. I want to do this without submitting the form.
Thanks
[/quote]

Yes This is possible with the JavaScript combined with PHP
Link to comment
Share on other sites

[quote author=mithu_sree link=topic=117997.msg483999#msg483999 date=1166011100]
[quote author=mrkamran link=topic=117997.msg481827#msg481827 date=1165695809]
Hi,
I have a Combobox in my php file and there is another combobox which will fill based on first combobox. For example First ComboBox has Main Category and Second ComboBox has Sub Category, When i will select an option from main category then sub category will fill on the base of main category. I want to do this without submitting the form.
Thanks
[/quote]

Yes This is possible with the JavaScript combined with PHP
[/quote]

Eh... that doesn't help very much. Especially when two other people said it is possible...
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

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.