SHARE
TWEET

Untitled

a guest May 19th, 2017 50 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var config = {
  2.     rows: '5',
  3.     cols: '25',
  4.     okButtonText: 'Redigera',
  5.     cancelButtonText: 'Avbryt'
  6. };
  7.  
  8. window.onload = function  () {
  9.     var pElements = document.getElementsByTagName('*');
  10.     for (var i=0; i < pElements.length; i++) {
  11.         if(pElements[i].className == 'editable')
  12.             inPlaceEditor(pElements[i]);
  13.     };
  14. };
  15.  
  16. function inPlaceEditor (editableElement) {
  17.    
  18. }
RAW Paste Data
Top