|
| |||||||||
| Tags: isnull, javascript, javascript isnull function, null value, syntax |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| Javascript isNull function
I need information on IsNull() in javascript. I know the function returns the null value but what are syntax need to declare. I want to check all the null value assign in the field. Can any one explain me the javascript isnull function with example. |
|
#2
| ||||
| ||||
| Re: Javascript isNull function
Check this example of javascript isnull function : Code: %
if IsNull(rs("field")) then
sVar = ""
else
sVar = rs("field")
end if
%>
<%
sVariable = "" & rs("field")
%> |
|
#3
| |||
| |||
| Re: Javascript isNull function
Try this example of javascript isnull function : Code: <html>
<head>
<title> javascript isnull </title>
<script language="JavaScript" src="./dynapisrc/dynapi.js"></script>
<script language="Javascript">
dynapi.library.setPath('./dynapisrc/');
dynapi.library.include('dynapi.library');
dynapi.library.include('dynapi.functions');
dynapi.library.include('dynapi.api');
</script>
</head>
<body>
<font face="boldl" size="3">
<script>
var doc=document;
j=dynapi.functions;
doc.write('isNull: '+f.isNull('not null','is null')+'<br><br>');
</script>
</font>
</body>
</html> |
|
#4
| |||
| |||
| Re: Javascript isNull function
ISNULL() Replaces NULL with the specified replacement value, it can have 2 arguments, first is the field which is supposed to be checked whether it is NULL or not..Use the IsNull function to determine whether an expression contains a Null value. |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "Javascript isNull function" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Passing XSL value to javascript function | Steadfast | Software Development | 6 | 14-05-2010 12:51 AM |
| c# function equivalent to gettime function in javascript | Omaar | Software Development | 4 | 10-03-2010 10:44 PM |
| Eval function in javascript | Solaris | Software Development | 5 | 02-03-2010 05:59 PM |
| JavaScript Sleep Function | DARIELLE | Software Development | 3 | 29-06-2009 10:30 AM |
| JavaScript function help | suseman | Software Development | 3 | 26-05-2009 06:11 AM |