Subject Re: [firebird-php] Clickable returned records
Author Sakhile Njoko
Thnx Lester.
 
I have been using Ajax for dropdown selections and inserting records. Please give me a link or an example that can guide me in doing what I want to achieve.
 

--- On Thu, 21/7/11, Lester Caine <lester@...> wrote:


From: Lester Caine <lester@...>
Subject: Re: [firebird-php] Clickable returned records
To: firebird-php@yahoogroups.com
Date: Thursday, 21 July, 2011, 13:25


 



Sakhile Njoko wrote:
> I am trying to select a record/s that a user can click and further record/s can be returned.
> Say, a list of departments is displayed and a user clicks on Department1, which leads to Divisions 1 to 3 being displayed and Division2 is clicked and its Units are then displayed.
>
> Department1 ------->Division1
> ------->Division2 ------>Unit1
> ------>Unit2
> ------->Division3

There are a lot of ways of doing this, without knowing where you are starting
from it's difficult to even provide examples. My own method of working for this
type of tree structure is to provide an 'id' in the post information, so
clicking on 'Department1' redraws the page with the 'Department1' view.

If you want these to 'pop-out' on the current page, then we need to start
looking at javascript and AJAX types of approaches.

--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php







[Non-text portions of this message have been removed]