View Full Version : Color Picker Widget in ajaxed form

08-11-2008, 01:29 PM
1) Script Title: Color Picker Widget (YUI based)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex11/ddcolorpicker/

3) Describe problem: Well, I need to call a few external javascript and css files in the form page where I'm using the widget, right?

Question is, how to call the color picker through ajax, where the widget is located in the second page that gets loaded on ajax call.

As it stands now, I can call the widget in a fixed page where we have head section and where we can have the extarnal js and css files in that section, but in cases where we need to load a form using ajax, the second page consists of the form only, without the additional html tags (body, head, etc.). In such cases, where to put references of those external files, and how.

Wondering if someone could help me here. Or, even while calling the ajax files, we make a full html page here :rolleyes:

Thanks for your time guys.