Dynamically Generating a Form on a Definition List
I would like to have a form after clicking a definition list by using JQuery. Say,
To edit one item in the list, I would like to change the list item to a form by clicking somewhere on the item. I am wondering how to achieve this goal. If I use the JQuery $("#aBlockId").html("<form ...> .... </form>") approach, I need to wrap the item with a div tag and assign a block ID. How to dynamic generate a such ID and retrieve them?