Client side script works in IDE but not in production envirornment

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?
 
S

Scott M.

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.
 
G

Guest

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>
 
C

Cor

Hi Larry,

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

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top