Javascript Error : Cannot read property 'top' of undefined.


Please help below error 

An exception occurred in the client script. Error: Cannot read property 'top' of undefined.



Hi AV,

We need a bit more information:

  • What are you trying to do?
  • What template did you use to create your application?
  • Are you using Silk UI or OutSystems UI?

A good starting point to ask better questions (that lead to better answers) is to read this short article and try to follow its suggestions.

Hi Amit,

That's a very generic error.

It's Javascript-related, so somewhere in that page, you have a piece of javascript that is trying to access a property of an element that doesn't have that property.

But it can also be a chain reaction and error is in another place of your javascript.

Without more context it's difficult to help more.