Viewing 1 replies (of 1 total)
  • Plugin Author John Clause

    (@johnclause)

    try a.append(…).each(function(){addContentHook(this);}), for example?
    Or try var b = a.append(…); addContentHook(b[0]); etc along this line. In the latter you would probably want to test that append worked correctly, b.length != 0;.

    append() returns jquery’s set of objects, and all iterators can be applied in a usual way, as far as I understand.

Viewing 1 replies (of 1 total)

The topic ‘add new content hook’ is closed to new replies.