View Single Post
  #6 (permalink)  
Old April 17th, 2006, 08:36 PM
bnews987 bnews987 is offline
Wrox Author
Points: 333, Level: 6
Points: 333, Level: 6 Points: 333, Level: 6 Points: 333, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2006
Location: , , .
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts
Default

It looks like Visual Studio entered JavaScript at first. Take your original code and just change the language to javascript in the attributes of the script tag. Then the function and the return will work. Return in the button event is needed for javascript but causes an error for vbscript. Happy Coding! Bryan