I can able to display values in textHint but I want to add these values in start_date select option.
Can anyone help me?
Preparing for SCWCD
Joined: May 14, 2004
You should use Java script framework such as jQuery and its API documentation will help you to do this.
Joined: Nov 08, 2001
You can not set the innerHTML of a select element in IE.
Easiest solution is to use jQuery since it handles it for you.
BUT if you can not use that library, I wrote a little function that tries to set the innerHTML. If setting the innerHTML results in no options being added, it rewrites the function so it will create an element and clone its options.