Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
And now it does nothing
Message
From
03/04/2013 13:37:13
 
 
To
03/04/2013 13:28:22
General information
Forum:
Javascript
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01569918
Message ID:
01569943
Views:
30
Because JavaScript doesn't have a 'messageBox' ? :-}

>Why 'alert' instead of 'messageBox'?
>
>Not trying to be a snot or anything, just needing the reasoning why...
>
>
>>
>>Yep. The 'If' is a problem. This should work:
function SCDropDown(topiclist)
>>        {
>>            if (topiclist.selectedIndex > 0)
>>            {
>>                location.href='go.hcn?hcn2~recipe~'+topiclist.options[topiclist.selectedIndex].value;
>>            }
>>        else {
>>                alert('Please select a recipe');
>>            }
>>        }
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform