Xem N?i Dung Trong TextArea Tr??c Khi Submit

?o?n codes sau ?�y cho ph�p b?n xem n?i dung b?n nh?p v�o v�ng textarea tr??c khi Post ho?c Submit v�o Database.









Enter your Message:







Source Codes:











Trong ph?n c?a trang HTML ch�n v�o Form sau:



Enter your Message:

<form name="preview">

<textarea cols="55" name="message" rows="15">

</textarea>

<input type="button" value="Click to Preview" onclick = "viewpage();">

</form>


B?n c?ng c� th? thay ??i k�ch th??c c?a trang Preview trong d�ng l?nh:

newwindow=open("", "newwindow","menubar=yes, scrollbars=yes, width=600, height=400");









This entry was posted on 10:11 and is filed under , .Follow any comments here with the RSS 2.0 . You can leave a response so that we can know your suggestion.
0 Responses to "Xem N?i Dung Trong TextArea Tr??c Khi Submit"

Đăng nhận xét