Skip to content

24 ways to impress your friends

Vote up?

Gavin Laking

function init(){

var max = 50;

for (i = 1; i lt= max; i++){

makeEditable(‘item_’+i);}

}

Replace lt with the less-than symbol. Use this in place of the existing init() function in editinplace.js for those multiple item pages you have; dynamically generated of course :-)