While developing a WordPress theme there are numerous occasions when you will need to communicate between PHP and jQuery (JavaScript). The concept may seam hard but it is really an easy process. To pass a variable from PHP to JS you will use the same approach as with passing a PHP variable to CSS. First I will show you how to pass a simple variable and then we will try to pass an Array. Let’s [...]
Trending Articles
More Pages to Explore .....