June 11th, 2002, 03:43 AM
e.g.say mystring is variable holding the valueof my data to be tested.
mystring = <%=(Results.Fields.Item("Postion").Value)%>
document.write ("close to");
document.write (mystring & "is perfect");
please check whether the above code is correct. incase you find the answer please send mail to email@example.com
June 11th, 2002, 03:49 AM
You should have '==' in the if statement and not '='
June 11th, 2002, 02:33 PM
but i figured out the problem.
infact i should have had declared mystring = in " " which i didn't do it and hence there was error.