Sorry for what seems to be such a basic question but this small little detail is alluding me. What is the best way to pass a php variable to jquery without setting the value within the DOM structure? Is there another way besides setting a variable so that jquery can use the variable?
An example would be the value of a mysql database count i.e. 5 animals, 2 vegetables, and 1 rock. <div id="animalCount"><?php echo $theAnimalCount;?></div>