# javaScript and error

**URL:** <https://www.ruby-forum.com/t/javascript-and-error/108136>\
**Category:** Rails\
**Created:** [June 29, 2007, 10:08am UTC](https://www.ruby-forum.com/t/javascript-and-error/108136 "2007-06-29T10:08:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![apsingh1981](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Post date:** [June 29, 2007, 10:08am UTC](https://www.ruby-forum.com/t/javascript-and-error/108136/1 "2007-06-29T10:08:01Z")

</div>

Hi ,

```
I have developed an application and it uses javascript code and

```

validations …what i have noticed is that it works fine in testing and  
deveoplment mode , but it gives error in production mode …

Is there any particular reason for that please help me out ,

Anant

---

<div class="post-metadata">

**Author:** ![apsingh1981](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Post date:** [June 29, 2007, 2:55pm UTC](https://www.ruby-forum.com/t/javascript-and-error/108136/2 "2007-06-29T14:55:27Z")

</div>

yes. could you post the error ?

On 29 Jun., 10:08, Anant S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![apsingh1981](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Post date:** [June 29, 2007, 4:25pm UTC](https://www.ruby-forum.com/t/javascript-and-error/108136/3 "2007-06-29T16:25:38Z")

</div>

Please install this and let us know what the error is if you’re still  
confused:

[http://www.getfirebug.com/](http://www.getfirebug.com/)

Jason

---

<div class="post-metadata">

**Author:** ![apsingh1981](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Post date:** [June 29, 2007, 4:17pm UTC](https://www.ruby-forum.com/t/javascript-and-error/108136/4 "2007-06-29T16:17:14Z")

</div>

Anant S. wrote:

> Hi ,
> 
> ```
> I have developed an application and it uses javascript code and
> 
> ```
> 
> validations …what i have noticed is that it works fine in testing and  
> deveoplment mode , but it gives error in production mode …
> 
> Is there any particular reason for that please help me out ,
> 
> Anant

The reason is that production mode is different.

Is there any particular problem that you want a reason for?

---

<div class="post-metadata">

**Author:** ![apsingh1981](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Post date:** [July 2, 2007, 2:56pm UTC](https://www.ruby-forum.com/t/javascript-and-error/108136/5 "2007-07-02T14:56:48Z")

</div>

But you said it works fine in development and testing, but not  
production.  
Telling you to install Firebug is the only help we can give you because  
that’s all the information we have. You’ll have to point us to the site  
itself, or give us the offending pieces of code before we can help you  
more.

Jason

---

<div class="post-metadata">

**Author:** ![apsingh1981](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Post date:** [July 2, 2007, 3:03pm UTC](https://www.ruby-forum.com/t/javascript-and-error/108136/6 "2007-07-02T15:03:50Z")

</div>

Hi ,

```
The application is developed soley for IE , and it doesn't give us 

```

desired results in firefox , so no point in installing that thing …

```
 What i really want to know is there any link between the javascript 

```

and the enviorment we are working ???

```
as i said its working fine with other but not with the production 

```

one !!!

Regards,  
Anant

Jason R. wrote:

> But you said it works fine in development and testing, but not  
> production.  
> Telling you to install Firebug is the only help we can give you because  
> that’s all the information we have. You’ll have to point us to the site  
> itself, or give us the offending pieces of code before we can help you  
> more.
> 
> Jason

---

<div class="post-metadata">

**Author:** ![apsingh1981](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Post date:** [July 2, 2007, 7:02am UTC](https://www.ruby-forum.com/t/javascript-and-error/108136/7 "2007-07-02T07:02:27Z")

</div>

Jason R. wrote:

> Please install this and let us know what the error is if you’re still  
> confused:
> 
> [http://www.getfirebug.com/](http://www.getfirebug.com/)
> 
> Jason

Hi ,

thanx for ur concern , actually the problem is the validations are not  
working , there is no such error but the validations on text boxes ,  
check boxes are not working !!!

Anant

---

<div class="post-metadata">

**Author:** ![apsingh1981](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8797f3/32.png) [@apsingh1981](https://www.ruby-forum.com/u/apsingh1981)\
**Post date:** [July 2, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/javascript-and-error/108136/8 "2007-07-02T15:21:50Z")

</div>

On 7/2/07, Anant S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi ,
> 
> ```
> The application is developed soley for IE , and it doesn't give us
> 
> ```
> 
> desired results in firefox , so no point in installing that thing …

Interesting. May I ask why you’re choosing to exclude a good quarter to  
third of the Internet using crowd?

```
 What i really want to know is there any link between the javascript

```

> and the enviorment we are working ???

Apparently so in your case. There’s a lot that can change when you go  
from  
development to production so without access to the code it’s very  
difficult  
to pinpoint a specific problem.

So the only thing I can really say is to go install the IE Javascript  
console, instructions here:

> **[IEBlog](https://learn.microsoft.com/en-us/archive/blogs/ie/)**

```
as i said its working fine with other but not with the production

```
