Page is a not externally linkable
- Code, Content, and Presentation
-- JavaScript and AJAX
---- looping through a comma separated string?


DrDoc - 5:23 pm on Jul 7, 2009 (gmt 0)


That's actually better handled by PHP itself.

<style type="text/css">
<?=$hideMe?> { display: none; }
</style>

Now, whether $hideMe is only a single element or contains a comma separated list of elements, they will all be hidden.


Thread source:: http://www.webmasterworld.com/javascript/3947590.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com