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 10:05

>>16
setItem/getItem is fugly. JavaScript is not ENTERPRISE.
HTML5's localStorage is.

???
Back to /b/

see >>9,10,13,15

The correct way to make a post like yours here is:
OKAY YOU FUQIN ANGERED AN EXPERT PROGRAMMER
GODFUQINDAMN
FIRST OF ALL, YOU DON'T FUQIN UNDERSTAND LOCALSTORAGE
SECONDLY, YOUR OBVIOUSLY DOING IT WRONG
THIRDLY, THIS IS /prog/, YOU'LL NEVER GET AN ACTUAL ANSWER HERE IF YOU HAVEN'T ACHIEVED SATORI
AND FUQIN LASTLY, FUCK OFF AND DO YOU'RE HOMEWORD
EVERYTHING HAS ALREAD BEEN ANSWERED IN >>9,10,13,15

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