Hi all,
I got this ddl that when onchange will call this javascript. This javascript handle the dopostback on when to call it if condition are met.
My problem now is how to get the previous selected item/index via javascript?
For example, i got 1 2 3. 1 is selected on page load by default, when select 3, the previous selected will be 1.
How do I get the previous selected item via javascript?
I got this ddl that when onchange will call this javascript. This javascript handle the dopostback on when to call it if condition are met.
My problem now is how to get the previous selected item/index via javascript?
For example, i got 1 2 3. 1 is selected on page load by default, when select 3, the previous selected will be 1.
How do I get the previous selected item via javascript?