Good all the time of day.

<textarea name="mess" rows="7" cols="50" maxlength="1000" value="<? echo "123".$mod; ?>"></textarea> 
  1. Why is the value in value not displayed?
  2. Can anyone suggest a way (or better 2) to organize the display of the desired text / variable in the textarea? (Ideally without JS.)
  • @mixalef textarea can take the value value if it is accessed from javascript, but it does not have this attribute! - Palmervan
  • This is me in the know (because before asking - google). on this indicated in the subject that the variant without JS - sergey is interested in is

2 answers 2

 <textarea name="mess" rows="7" cols="50" maxlength="1000"><? echo "123".$mod; ?></textarea> 
     <textarea name="mess" rows="7" cols="50" maxlength="1000"><? echo "123".$mod; ?></textarea> 

    unbelievable! poked at random!

    • unbelievable! : D - Crasher