Hi there
I have a server-side VB that runs at the beginning of the asp page, and it returns a result set, call it loResultSet.
In the client side javscript, I was trying to check to see if this result set is nothing or not.
if (<%=(loResultSet is nothing)%>)
{
// javscript code
}
However it bombs because that (loResultSet is nothing) returns "True", as opposed to "true", and Javascript doesn't recognize True.
I know this is a dumb question, but how would you fix this, and I mean, not in a hack way, such as
if (%=(loResultSet is nothing)%>.toString().toLowerCase())
Many thanks appreciated.
CC
No one has replied yet! Why not be the first?
Sign in or Join us (it's free).