2010531

939 ワード


first proble m:
<span style="font-family: Arial, Verdana, sans-serif; white-space: normal; background-color: rgb(255, 255, 255);" mce_style="font-family: Arial, Verdana, sans-serif; white-space: normal; background-color: #ffffff;">description:</span>
 
 
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(t.value)i got what i want
 
 
to be conting ue…(today)