
October 24th, 2012, 07:05 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 3
Time spent in forums: 1 h 12 m 29 sec
Reputation Power: 0
|
|
jQuery - Jquery multi DIVs hide/show
i want to show hide multiple divs with jquery or javascript. I seached the web but i find codes that must have unique divs like:
PHP Code:
<div id="div1">text</div>
<div id="div2">text</div>
and so on, but i want to add the divs in a foreache php function so i can't have multiple IDs, the foreache is a div wrapper. So, my question is how can i do that ?
|