problem with inserting date picker..
which is used for dynamic change of values in two select boxes..like if we select a country then the states of that conutry in shown..
function emptyselect1( myObj )
{
if((myObj.options[myObj.selectedIndex].value == "F_ARCHIVEDATE" ) || (myObj.options[myObj.selectedIndex].value == "F_DELETEDATE" ) || (myObj.options[myObj.selectedIndex].value == "F_ENTRYDATE" ) || (myObj.options[myObj.selectedIndex].value == "date1" ))
{
if these fields are selected:
then
document.search.value1.. is an input text box..
if user selects any of above values and goes to this text field and if he clicks on that field i want to show date picker..
onClick="javascript:void( window.open( 'calendar.html?endDate', '', 'width=200,height=200,top=120,left=120' ))"
this event i want to erpform on text field..
this thing should hapeen only if user selects any of above date fields..
for others it should keep emty..
regards,
sampath

