I have a drop down box which has to be disabled. Before IE 8, it can keep highlight an item and disable. But in IE 8, when you disable the drop down, you no longer see highlight. So is there a way...
Could you show me how could I make it work with space demiliter list?
list1 = "a b c d e f";
list2 ="d f w x y";
list=(list1+" "+list2).split(/ /g).sort().join(' ').replace(/(s[^s]+)\1/g,'$1');...
Have an issue handling people using texterea to submit multiple id strings, I have to handle that not make what the user enters as delimiter, I have to pass it to comma delimiter to the back end....
Thanks for the response. I like the solution, 2 questions if I may ask, how could I make it work for IE? it works for firefox ok but not for my IE browser. How could I use it if the two list values...
Have a problem using cfdiv binding variable, because it contains # in the value, so when it passed in Firefox it truncked anything from # sign on.
here is the code:
<form name="myForm"...
Hi all, I have a situation, I need to find out if a string contains any of the following wildcard "@#!%^&*~". If exists, then the string is invalid. Instead of using indexOf each one of the wildcard,...
Thanks Logic Ali. It works very well. It even include the checking if there is (or ) in the input text. Excellent! appreciate your help and vic kind help as well.
Thanks for the reply. I turned it into a function and it works great. But I have to run the script when the input has "(". And when I use txt.indexOf("(") to identify if there is () in the input, got...
I need to do an input text validation which include opening parenthesis and closing parenthesis, what I need to validate is the opening parenthesis match with closing parenthesis. Here is a sample of...
Thanks Kor. Your solution did bring the select item to the top of the list, however, the list is re-ordered. I would like to keep the oringinal order, except hide those items that listed before the...
Thanks Tirna, it is ok when user selects from the dropdown list, the selsearch() only called when user typing an input. And if user enters an input then the selection will be the first in the...
Thanks for your response Tirna. Appreciate your solution.
What I am looking for is somehow remove/hide the items before selected item in the dropdown list, so selected item will be the first one...