Dan,
I could be wrong here, but I am farily sure the technique of using the brackets is the correct approach. If you would like to enlighten me, please do so.
Hey Dan,
Thanks for the responce. I will your code a try.
The brackets in the name of the select indicate that it's an array of elements. This is the only solution I know of to properly store multiple selections. It was acutally posted on PHPfreaks as well, on how to parse multiple select items.
Hello All,
I need to do something a little funky:
I have a form element multiple select:
<select name="vehicles[]" id="vehicles" size="' . $size . '" multiple onChange="updateServiceInstructions();">
I also have a form element textarea:
<textarea name="vehicle_instructions" cols="108"...
Also, I have been searching google and not been able to find code to first search a textarea via a textfield, and second to position the cursor. I tired the search you recommended.
theniteowl:
Is there a way to select, like you know when you select text with your mouse, the found string?
Also, how hard will a findnext be. Basically I want it to function with a single textbox and a single button Search, and you can click the button Search and it acts as a find next, you...
I have a large textarea with a large amount of text.
I want to be able to put a text search string in a textfield and click 'Search' and have javascript try and find my search string in the large textarea.
If the string was not found in the textarea pop up an Alert("Search value not found.")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.