Skip to main content
Ben Nadel at the jQuery Conference 2011 (Cambridge, MA) with: Andrew Maurer
Ben Nadel at the jQuery Conference 2011 (Cambridge, MA) with: Andrew Maurer ( @maurerdotme )

Theo Hendy

Member since Sep 24, 2010

Recent Blog Comments By Theo Hendy

  • Ask Ben: Iterating Over An Array With jQuery

    Posted on Sep 24, 2010 at 3:19 AM

    oops.. sorry.. the PHP array should be in parentheses () not curly brackets {} sorry for the double post... read more »

  • Ask Ben: Iterating Over An Array With jQuery

    Posted on Sep 24, 2010 at 3:16 AM

    @Churchie, you could try echoing a string of joined PHP array in to the javascript <?php $phpArray = Array{"one","two","three"}; // convert it into string by using php join() $phpString = "'".join("','",$phpArray)."'"; // 'one','two','three' // echo it (write it to the source) echo "var jsAr... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel