Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners facing problem while retrive value from Post textarea
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Subha
facing problem while retrive value from Post textarea
1 Answer(s)      3 years and a month ago
Posted in : Java Beginners


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.


Advertisement
View Answers

December 7, 2011 at 3:15 PM




Related Tutorials/Questions & Answers:
facing problem while retrive value from Post textarea
facing problem while retrive value from Post textarea  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>
how can retrive value from combo box in servlet?
how can retrive value from combo box in servlet?  i have a jsp page with combobox. And i want to get value from combox to servlet
Advertisements
jsp code for a drop down box to retrive value from database
jsp code for a drop down box to retrive value from database  my project needs to get the value from database in to the drop down box..... pls give me..."); while(rs.next()){ %> <option value="<%=rs.getString
Problem facing in SAX Parsing - XML
Problem facing in SAX Parsing  I have facing the issue in SAX Parsing like i have got the xml and the xml structure is like below... of all remove & sign from your xml file,it contradicts.And then try
Problem facing in SAX Parsing - XML
Problem facing in SAX Parsing  I have facing the issue in SAX Parsing like i have got the xml and the xml structure is like below... Parcing. Please find the below code which i have used..from the parcing point
facing problem plz help me out - Framework
Facing problem plz help me out  hi i am new to servlet i deployed... the web.xml file too parallel to the classes folder now i am facing this problem.plz tell me what to do... error:The requested resource (Servlet servlet
retrive data from database?
retrive data from database?  hellow i have a database sheet name... from db1 and enter value in text box according there name,rollno and save..... now i want retrive sn,roll no and name and textbox like
Facing Problem to insert Multiple Array values in database - JSP-Servlet
facing the problem while inserting the data in database. iam using the MsAccess...Facing Problem to insert Multiple Array values in database  Hai... database but while inserting the data in orderdetails after insert the frist value its
retrive data from database
retrive data from database   hi.. i made a application form. it's have attribute s.no,name,roll no and i enter a few records. now i want to view all record not in database access sheet i want to view it at any another
how to display output on jsp from while loop of action class....actually i am retreiving the post from posts column from my sql.plz help.thnkss
how to display output on jsp from while loop of action class....actually i am retreiving the post from posts column from my sql.plz help.thnkss  how to display output on jsp from while loop of action class....actually i am
GWT -- retrive the data from Database
GWT -- retrive the data from Database  the user can create an event... and post buttons. Once the user entered all the datas and if he clicks the Preview button, you have to create a dynamic jsp which should read the contents from
How to capture output from console into textarea in java?
How to capture output from console into textarea in java?  Hi, I would like to know how can we display the result of a program in java into a textarea instead of displaying it on console. Thanks
Facing Problem with submit and cancel button in same page - Struts
Facing Problem with submit and cancel button in same page  Hi, can u please help me out.I have placed submit and cancel button in the jsp page but i am unable to know how to write the form and action classes   Hi
store and retrive image from the database
store and retrive image from the database  please provide me... to store and retreive images from sql database using sql commands -how to store and retreive images from sql database using asp.net/c# thanks in advance
To retrive data from database - Struts
To retrive data from database  How to get values ,when i select a select box in jsp and has to get values in textbox automatically from database? eg... come to jsp page automatically from database
How to get Scrollbar value of textarea in html? - Design concepts & design patterns
How to get Scrollbar value of textarea in html?  Hi All, I have one registration page with terms & policy in read only textarea (Html input tag type). Requirement: Till user didn't scroll down textarea at the last line
Problem passing a value from one jsp to another using href
Problem passing a value from one jsp to another using href  first page.jsp <a href="common.jsp?param=<%l.get(k).parentname%>">...);%> since url print a common.jsp?param=Arts but attr return a null value
Problem passing a value from one jsp to another using href
Problem passing a value from one jsp to another using href  first page.jsp <a href="common.jsp?param=<%l.get(k).parentname%>">...);%> since url print a common.jsp?param=Arts but attr return a null value
retrive data from oracle to jsp
retrive data from oracle to jsp  i am a beginer in jsp so please help... ar = new ArrayList(); ResultSet rs = null; while(rs.next...(); psmt= conn.prepareStatement("select * from CR_EMPLOYEE_DETAILS
Request URl using Retrive data from dtabase
Request URl using Retrive data from dtabase  Using With GWT the user..., preview and save and post buttons. Once the user entered all the datas and if he... the contents from the db based on the event id. But this jsp url should
How to get the focus from a particular textarea for some action?
How to get the focus from a particular textarea for some action?  Hi All, I have created one small swing applications with two textarea. I want... search for some value using ctrl+f then it should search for contents present
store & retrive the image from oracle database
store & retrive the image from oracle database  how can i store the image path in tha database & fetch that image from oracle database
How to retrive a particular record from database in php with mysql?
How to retrive a particular record from database in php with mysql?  ... names are username,password,email,firstname,lastname. But i want to retrive 3 rd record based on username and password. I dont know how to retrive in php with mysql
problem while reading .csv file
problem while reading .csv file  I have a problem here..... i am reading a .csv extention file which has some value....but the problem is der is an amount column which contains , in between (eg) 3,899.00 which inturns creates
how to send the content of jtextarea from netbeans IDE to webpage's textarea in java
how to send the content of jtextarea from netbeans IDE to webpage's textarea in java   Hi, i m interested to send the content of my jtextarea which i have developed in netbeans IDE to the webpage's textarea. how can i do
Retrive values from an arraylist and display in a jsp?
Retrive values from an arraylist and display in a jsp?  Hi, I need...") != null) { Open connection to the database; Read parameters from... noticed the problem now. hehe...forget   Anyways, here is a link
post
post method in PHP  Write an example of the post method in PHP to send the data to another page or simply update the database.   in post values in the url will be hidden   in post   post
Facing - Ajax
Facing   Hello All, i m using ajax in my application i m fetching data from db using ajax method and returning response in xml format. But when retreiveing data from xml using javascript it is showing not well formed error
store and retrive image from database - JDBC
store and retrive image from database  how to store and retrive an image in database using java?  Hi friend, Code for store image...()); } } } For retrieve image from database visit to : http
post
post  what is post   vxvxcvxcv   Please visit the following link: Post in PHP
Retrive values from an arraylist and display in a jsp?
Retrive values from an arraylist and display in a jsp?  Hi, I need...") != null) { Open connection to the database; Read parameters from...>â??, delete this token   I noticed the problem now. hehe
Advertisements
 

 

 

DMCA.com