PC Review


Reply
Thread Tools Rate Thread

Client side script works in IDE but not in production envirornment

 
 
=?Utf-8?B?TGFycnk=?=
Guest
Posts: n/a
 
      21st Feb 2004
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?
 
Reply With Quote
 
 
 
 
Scott M.
Guest
Posts: n/a
 
      21st Feb 2004
Let's see the code.


"Larry" <(E-Mail Removed)> wrote in message
news:9305EAA4-6973-46BD-8A1E-(E-Mail Removed)...
> 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?



 
Reply With Quote
 
=?Utf-8?B?TGFycnk=?=
Guest
Posts: n/a
 
      21st Feb 2004
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>
 
Reply With Quote
 
Cor
Guest
Posts: n/a
 
      22nd Feb 2004
Hi Larry,

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

Cor


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding Server Side code in a Client Side Script??? =?Utf-8?B?TWlrZSBSYW5k?= Microsoft ASP .NET 1 30th Jan 2006 08:52 PM
Server-side script with input parameter from Client-side script Magnus Blomberg Microsoft ASP .NET 3 14th Apr 2005 01:21 PM
execute client side script + server side code for button click =?Utf-8?B?a2s=?= Microsoft C# .NET 1 17th Mar 2005 12:20 AM
Re: Client side validation doesn't work on production server Peter Blum Microsoft ASP .NET 0 30th Aug 2004 05:16 PM
Re: Client side validation doesn't work on production server Hermit Dave Microsoft ASP .NET 0 28th Aug 2004 09:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:27 PM.