G
Guest
How can I call my javascript from within my C# "IF" statement?
I have a function called dirError() that only displays an alert:
function dirError()
{
alert('Bad directory');
}
From my C# code, I want to do this:
if (fileEntries.Length <= 0)
{
//CALL javaScript function dirError
}
Any help is appreciated.
Thanks.
I have a function called dirError() that only displays an alert:
function dirError()
{
alert('Bad directory');
}
From my C# code, I want to do this:
if (fileEntries.Length <= 0)
{
//CALL javaScript function dirError
}
Any help is appreciated.
Thanks.