
Hi this is subha. I face a small problem while retriving value of the textbox in the java script.I use struts framework and this is my code for post textarea.
<tr> <td align="left" valign="top" width="20%"><bean:message key="label.dealPost"/> </td> <td align="left" valign="middle" colspan="2"> <html:textarea property="dealPost" styleClass="inputtext" tabindex="7" styleId="postDeal" name="loyaltyPurchaseFrequencyForm"></html:textarea> <script type="text/javascript"> window.onload = CKEDITOR.replace( 'dealPost' ); </script> </td> </tr>
This is the javascript function where i try to get the value:
function submitLink(action) {
var merchantID = document.getElementById("merchantID").value; var dealName= document.getElementById("dealName").value; var description= document.getElementById("desc").value; var logo= document.getElementById("logo").value; var post=document.getElementById("postDeal").value; alert(post); }
Plz, any one have some idea about that then plz help me.

Please visit the following link:
http://www.roseindia.net/struts/struts1/html-textarea-Tag.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.