Guest User

Untitled

a guest
Feb 19th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <p><div id=\"tags_d\">no tags</div></p> //build tag list here
  2. <p>
  3. <span id=\"tags\">+add new tag</span> &nbsp;
  4.  
  5. <script>
  6. new Ajax.InPlaceEditor($('tags'), 'tags.php', {
  7. ajaxOptions: onComplete: function (transport, element) { document.getElementById(\"tags_d\").innerHTML = transport.responseText;
  8. document.getElementById(\"tags\").innerHTML=(\"+add new tag\");
  9.  
  10. }
  11. })
  12. </script>
Add Comment
Please, Sign In to add comment