article

title

[WHAT]

  1. ] reads all textarea inputs on the page and replaces it with pre formatted paragragh elments ( print, save)

[WHY]

  1. ] printing
  2. ] saving

[WHERE]

  1. ]

[WHEN]

[EXAMPLE]

  1. ]

[HOW-TO]

  1. ]

[REFERENCE]

  1. ] found on hn thread re: saving your hn application

 


[03-dd]

[].slice.call(document.querySelectorAll('input, textarea'),0).forEach(function(elem){var p = document.createElement('pre');

p.textContent=elem.value; elem.parentElement.replaceChild(p,elem)})


subjects creating, editing, organizing and deleting Subject notebooks


[].slice.call(document.querySelectorAll('input, textarea'),0)

.forEach(function(elem){
var p = document.createElement('pre');

p.textContent=elem.value;

elem.parentElement.replaceChild(p,elem)
})

 

Details Photos Edit more

Details

ID: 2746

NAME: read-all-textinputs-on-page

DESCRIPTION: ]

AUTHOR: article.author/s

EDITOR: article.editor/s

PUBLISHER: article.publisher/s

STATUS: Write

PRIORITY: 0

OWNER ID: 1

Content Photos Edit more

photos

page_photo

actions

Email Email-Owner SMS and