Thread: Clear Variables
View Single Post
  #3 (permalink)  
Old June 20th, 2005, 08:27 AM
dmerrall dmerrall is offline
Registered User
 
Join Date: Jun 2005
Location: Akron, OH, .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dmerrall Send a message via MSN to dmerrall
Default

I found code that was appending. I didn't write the original code and don't know why the original author chose to append the code. Once I corrected that, I was fine.

Original Code:

if (document.findform.pagesr.value!="Section"){
     if (document.findform.cites.value!="")
     {
      document.findform.cites.value="+"
     }

Corrected code:
if (document.findform.pagesr.value!="Section"){
     //if (document.findform.cites.value!="")
     {
      document.findform.cites.value="" //+
     }
Reply With Quote