I'm not sure if I confused everyone with the above name. My problem is as follows.
I am using standard javascript code (without jQuery) and HTML for my code. The requirement is that for the menu <select>...</select>I have a dynamic list of variable lengths.
Now, if the length of the characters option[selectedIndex].text > 43, I want to change option[selectecIndex]to new text.
I can do it by calling
this.options[this.selectedIndex].text = "changed text";
in the onChange event, which works fine. The problem here is when the user decides to change the selection, the search text with the changed text is displayed in the drop-down list. This should show the source list.
I'm at a dead end! is there an easier way to do this?
Any help would be great.
thank