Link to home
Start Free TrialLog in
Avatar of kbb2
kbb2

asked on

IsEmpty equavalant

In VBScript you would write:

<%
if IsEmpty(Request.Form("CRAP")) then
  ' make something happen
end if
%>

How would you do this in JavaScript ?
Avatar of knightEknight
knightEknight
Flag of United States of America image

I assume you mean server (asp) javascript...

try:

<%
  if ( ''+Request.Form("Stuff") == '' )
  {
         // make something happen
  }
%>
ASKER CERTIFIED SOLUTION
Avatar of Yury_Delendik
Yury_Delendik

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial