We are having two select boxes. In the Second Select Box, we are populating values based on the options selected in the first Select Box. The population into the Second Select Box is done through Ajax. We are using ResponseText to retrieve.
Following the is the Code for the Ajax Retrieval File.
=========================START OF FILE============================================
==========================END OF FILE===========================================
The situation is that We are able to apply the style (through CSS and JQuery to effectively change the Traditional Select Box into a Scrollable CheckList) to the first Select Box which is Static. We are able to fetch the values successfully into the select box, however we are unable to apply the Checklist Style for the Second Select Box, the option and the select tags of which are retrieved through Ajax. We have included the required CSS and Script Tags in both the pages.
The above issue has been solved. But there is another issue we are facing now. The loading of values of the second select box through ajax is not late, but because we are applying style to the select box in the second page and fetching the whole content(data and style to that select box), the models loading is very slow.
Kindly help me out. How can we ensure the data transfer is fast in ajax, thereby the delay is less.
a) second select box with values based on first select box's click
b) setting style to second select box
both to happen almost instantaneously.
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop