For some reason the following switch statement runs all of them, it always does an alert on "1", but then on 2 as well each time.. What am I doing wrong?
var User = '1';
switch (User)
{
case '1':
{
alert('case 1);
}
case '2':
{
alert('case 2'');
}
}
...
Go to the complete details ...