I am developing a small web site. I have a login Page (login_form.php) from where user has to select there user type from dropdown box values are "Administrator", "Store Keeper", "User". When user select "User" option from list in onchange event I am opening one popup window (depart.php) from which they have to select their "Department" all department are fetched from database(MySql). Now which ever Department is slected by user that should be displayed on the Parent window beside the Drop Down Box
Please can I any one help me.