September 26th, 2007, 08:09 AM
[RESOLVED]populating Drop down with items frmo server.
I want to fill a drop down/combo with list of items, when a user clicks a button,
I am calling my php page using http request of AJX and then fill up the combo
combo.blala.innerHtml= "code to fill combo"
I want to know whats the best approach to generate code,
should I genreate complete html at server side and return or should I return only the list of items seperated by something or XML and then generate the HTML at client side, ..
which approach is clean and much prefered, any ideas..
Last edited by xs2ahmed; September 26th, 2007 at 09:45 AM.
Reason: putting resolved tag in subject
He is not strong and powerful, who throws people down, but he is strong who withholds himself from anger
Click Here to Expand Forum to Full Width