wordpress and jquery conflicts – How to solve that
Sometimes I saw issue with some plugins due to different versions of jquery. I shown in this tutorial, how to solve the wordpress and jquery conflicts.
Lets say I kept div height auto and width as 200px fix and data is dynamic for eash user. So how we can get the div height.
1. offsetHeight – this will return the value which are specified in your CSS
2. clientHeight – this function will return real inner height of element that does not matter about CSS.
I recomend to use this function.
Exmaple code as follows: