Hi Aparajita,

It is always a fixed number of parameters that I would pass to the JS for display, so I could rather than trying to pass around a row set, pass in the number of parameters that I need to make up the rows of data that I want displayed.

I am just trying to make a generic display function for all of my tables that I need to display!

It doesn't make any sense to create Javascript on the server side with the result of a query, you might as well create the html directly. Are you trying to do ajax calls?

Yes, I wish to utilize AJAX.

My JS function is like this:

function displayRecords(articlesToDisplay, personID, date)
{
        var divElement = document.getElementById(articlesToDisplay)

        divElement.innerHTML = date
}

in the divElement.innerHTML I wish to display fields from my query for the user.

-Jason
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to