473,386 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Client side script works in IDE but not in production envirornment

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?
Jul 21 '05 #1
3 1091
Let's see the code.
"Larry" <an*******@discussions.microsoft.com> wrote in message
news:93**********************************@microsof t.com...
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?

Jul 21 '05 #2
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>
Jul 21 '05 #3
Cor
Hi Larry,

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

Cor
Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Kathryn | last post by:
Hiya I have a problem with using some client side and server side scripting together in an ASP. I'm using VBScript. What I'm trying to achieve is this - - Page loads up and some server side...
3
by: Mick Turner | last post by:
I have connected to SQL Server database (server-side vbscript) and read some data from the tables. This works correctly. I now have the data in an array (server-side). I have to draw a...
1
by: MonkeyBoy | last post by:
I am doing some some HTML manipulation in client-side script (IE5.x and IE6.x browsers only). Something like.. var tmpHTML = oTable.outerHTML // do something to the HTML her oTable.outerHTML =...
26
by: Don | last post by:
I'm writing an html page with some JavaScript that reads a web page into a client-side temp file, then reformats it, then submits that same file as a URL to the browser for display, via...
0
by: Pete Beech | last post by:
Hi, We have an ASP.NET 1.1 webapp, deployed on an integration and a production server - exactly the same code. One of the pages has client side validation script, using the validation...
3
by: Larry | last post by:
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...
3
by: jesper_lofgren | last post by:
Hello, I have a problem, i have a event in asp.net codebehind file that updating a datasource. If that update went well i want to refresh my treeview thats on another page. The script works...
1
by: =?Utf-8?B?Um95?= | last post by:
Greetings, I've sucessfully implemented a client callback using the RaiseCallbackEvent method in the ICallbackEventHandler interface and the GetCallbackEventReference helper method. Everything...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.