Why not just keep a "global" variable, like:

var _id = 0;

and when you create the new item, use that counter to make like "New_"
+ _id, and then increment the counter

Reply via email to