javascript thread: problem....
Ashutosh,
This is a difficult matter to tackle well, and there are many ways to do
it. One would be to dynamically generate the page with javascript objects
holding the data that you will need conditionally. Another, which
unfortunately binds your users to IE 5.5+, is to utilize the MSXML parser
and either dynamically generate XML islands in your page or use the
XMLHTTP object to connect to a database to get your XML document, then
query the document for your conditional data. Benefits to this latter way
include keeping your data better organized, easily validatable (via DTD
and XSD), and easily transformable (via XSL) in complex ways.
Other ways to maintain rich client-side javascript data structures also
almost certainly exist.
Good luck,
Tim
> Hi,
>
> In our page we have got a page where we require to show up certain data
> in a list on the basis of some selection-event in the drop down. say
> when A is selected the list should show up all data related to A and
> this way.
>
> One option is to connect to database for every selection made.But i came
> to know that in javascript also there are functionalities for the same
> where u can bring all the data at single go and save it on client side
> and show it as per your convinience.
> Me being new in javascript, is unaware of such functionality. So, please
> help
> me out.
>
> Thanks and Regds,
> Ashutosh Shrivastava
> Time is that funny thing that prevents everything from happening at the
> same time!
>
>
>