Client side script works in IDE but not in production envirornment

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have pages with client side javascript which works fine in the IDE but when it is copied to the production environment the script isn't getting called

I'm using customvalidators to call the script which again, works as expected as long as its running in the IDE

Any suggestion on how to solve this problem?
 
Let's see the code.


Larry said:
I have pages with client side javascript which works fine in the IDE but
when it is copied to the production environment the script isn't getting
called.
I'm using customvalidators to call the script which again, works as
expected as long as its running in the IDE.
 
Here is the javascrip

<SCRIPT language="JavaScript"

function idx(val, args)
var tb = "tbIndex
var nix = document.forms[0].elements[tb].value
var nnix
var ixb
if (isNaN(parseFloat(document.forms[0].elements[tb].value)))
document.forms[0].elements[tb].value = ""

else
var chr
ixb = nix
len = ixb.length
for (var i = 1; i <= len; i++)
chr = nix.substr(nix.length-i,1)
if (isNaN(chr) == false)
if (i == 1)
nnix = "." + chr

else
nnix = chr + nnix



document.forms[0].elements[tb].value = nnix

}
</SCRIPT>
 
Hi Larry,

Do you have in your production environment in IE both script checkers
enabled?

Cor
 
Back
Top