Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/template" id="editorItemPlacholder">
- <div>
- ...
- </div>
- </script>
- var editorItemTemplate = $("#editorItemPlacholder").html();
- editorItemTemplate.find("div").prop("id",item);
- $('div', $editorItemTemplate).prop('id', item);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement