I have a problem and looking forward for your kind help.
I need the <select> tags option value to be set selected on the page load.
The problem is that everytime the value which is to be selected may change on each page load.
Im sending the value which was selected previously as the argument "val" and im iterating between the entire list of options available. mean while im checking whether there is a match between the value passed and the value of the option. if there is a match then that particular option will be set as selected.