Magento addCategoryFilter – filtering product collection by category id

Example

Read more

addAttributeToFilter and OR condition in Magento’s 1 Collection

Example code

Read more

how to convert php array to javascript array

PHP json_encode function convert the data into JSON string , that can store in JavaScript variable Example

Example 2

Read more

How to check element is visible on screen

jQuery check if element is visible on screen jQuery is(‘:hidden’) not work on a element with visibility:hidden EXample

jQuery

Read more