Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

snippets

Name: Anonymous 2011-01-27 14:58

This works fine:
javascript:localStorage.setItem('chanchan',document.getElementsByTagName('textarea')[0].value);


This one doesn't work:
javascript:localStorage.setItem('chanchan',document.getElementsByName('com')[0].value);

This one loads the value into the body instead of the textarea, and deletes everything else:
javascript:document.getElementsByTagName('textarea')[0].value=localStorage.getItem('chanchan');

Explain this bullshit.

Name: Anonymous 2011-01-28 11:01

>>17
You just don't know the answer.
I do understand localstorage, this isn't the first time I'm doing it.
Just explain me why the fuck it's loading the value into the body and not the textarea.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List