calling a function w/ parameters inside an appended onFocus...

calling a function w/ parameters inside an appended onFocus...

hints are displayed onFocus, and emptied onBlur, which works. However, when I add the second set of field inputs, they don't display the hints. I've narrowed the problem to the function call in the onFocus line:

  1. $('.inner').append('<input type="text" name="fieldName[]" value="Field Name" class="long" onFocus="'+desc(showDesc("fieldName"))+'"/> ');
using onFocus="desc(showDesc("fieldName"));" throws a "missing ) line 1 row 14" error

Take a look for yourself:  http://jsfiddle.net/visevo/nMwMw/

Any ideas?