Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.
Ben Nadel at CFUNITED 2008 (Washington, D.C.) with: Sam Farmer
Ben Nadel at CFUNITED 2008 (Washington, D.C.) with: Sam Farmer@sam_farmer )

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 »