• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Javascript behaves differently in IE with same environment in two different machines

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

I am currently working with javascript and jquery.The server I am using is apache tomcat 5.5.27.
Our development and production environment is same.


My javascript behaves differently in development and production environment. I have a hintbox javascript to display tooltip on input boxes
I got the script from http://nicolae.namolovan.googlepages.com/jquery.inputHintBox.demo.html

I have problem only with IE7 or later. The code is working fine and displaying tooltip when I deploy it in the production environment.
But its not working in the development environment. Also I found no script error. I have cleared the browser cache , work folder in tomcat , but its not working

The java script function defined inside <head> and called at the bottom of the page as shown below

<script>
$('.titleHintBox').inputHintBox({div:$('#shiny_box'),div_sub:'.shiny_box_body',source:'attr',attr:'title',incrementLeft:5});
</script>


Could someone suggest any test scenarios which I can use to solve this problem .

Thanks in advance
NikhilChandran
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the HTML output change from production and your dev version?

Eric
 
Nikhil Chandran
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:Does the HTML output change from production and your dev version?

Eric



No...HTML output is same in development and production. I took the HTML source for both cases and found that both are same
But the tool tip is not coming in development system.

Thanks
NikhilChandran.
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you positive that the JavaScript files are there on the dev system?

Add alerts to the files and see if they fire. You need to debug and not guess.

Eric
reply
    Bookmark Topic Watch Topic
  • New Topic