W
weetat
Hi all,
I need some advice regarding wrote a javascript function.
The function purpose is to check the variable "selectedSeat",
for e.g if the selectedSeat value is
var selectedSeat = "A:01|A:03|A:05|B:01|B:02|B:03";
var selectedArray = selectedSeat.split("|");
because row A is not in sequence , i will display alert box to
user,
but row B is in sequence is ok.
Main purpose of function is check if the row is in the sequence.
I have been cracking my head about this , anyone have suggestion is
much appreciated.
The project is in voyager browser which are the clone of netscape
4.0, so some newer javascript code will not work.
Thanks
Wee Tat
I need some advice regarding wrote a javascript function.
The function purpose is to check the variable "selectedSeat",
for e.g if the selectedSeat value is
var selectedSeat = "A:01|A:03|A:05|B:01|B:02|B:03";
var selectedArray = selectedSeat.split("|");
because row A is not in sequence , i will display alert box to
user,
but row B is in sequence is ok.
Main purpose of function is check if the row is in the sequence.
I have been cracking my head about this , anyone have suggestion is
much appreciated.
The project is in voyager browser which are the clone of netscape
4.0, so some newer javascript code will not work.
Thanks
Wee Tat