Categories | Question details Back To List | ||
Display custom message in the combo box (I am using dhtmlcombo) I am using the dhtmlcombo with autopopulate it is working fine ,But I have one question I need to dispaly no records found if the user types the text which is not there in the option list. I spent 4hrs on this but I did get solution . Laxmn Answer posted by Support on Jan 12, 2009 02:20 Techically you can just return custom option as if (!mysql_num_rows($res)) print ("<option>No records found</option>"); It will be shown in option list instead of normal options. More complex solution can be build by redefining the _fillFromXML method of combo, which triggered each time when xml loaded. |