first problem:
description:
some content have been set into textarea, the textarea's content can be modified;
when submit(in fact,release one weibo message), i want to get the content of the textarea(if it has been modified,get the content after modify);
i use js;
first time: i use
var tt = document.getElementById("t");
alert(tt.firstnode.nodevalue);
but it only show the old content(not contain the modify);
then someone helped me:
use this code:
alert(tt.value);
i got what i want!
to be continue...(today)