Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-18-2009, 11:33 AM
Member
 
Join Date: Jun 2008
Posts: 10
Rep Power: 0
shuvra_pan is on a distinguished road
Default New Line problem in javascript
problem in Javascripts.....

This is the code....
<head>
<script type="text/javascript">
function sendMail(_frm){
var eml="shuvrapan.19@gmail.com";
var bod="&body="+_frm.txtTwo.value+" "+_frm.txtOne.value;
var subj="?subject=Whatever you want";
location.href="mailto:"+eml+subj+bod;
}
</script>

</head>

<body>
<form action="mailto:shuvrapan.19@gmail.com" enctype="text/plain"
method="POST" onsubmit="sendMail(this);return false;">
<!--<select name="selOne">
<option value="Dog">Dog</option>
<option value="Cat">Cat</option>
</select>-->
<textarea name="txtTwo"></textarea>
<textarea name="txtOne"></textarea>
<input type="submit" value="Submit" />
</form>
</body>
</html>


Problem is that when I press sumit button then its go to the OfficeOutlook and show the value in verticaly......But I want the values shows Horizantally.

plzz help me out its urgent...............
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 03-18-2009, 11:44 AM
Member
 
Join Date: Mar 2009
Posts: 12
Rep Power: 0
vinoopraj is on a distinguished road
Default
i cant understand u r problem... can u define more..
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 03-18-2009, 01:17 PM
Thennarasu's Avatar
Member
 
Join Date: Jan 2009
Location: Chennai, Tamilnadu
Posts: 38
Rep Power: 0
Thennarasu is on a distinguished road
Send a message via Yahoo to Thennarasu
Smile its working as you expect
hi.... its working fine... the text gets displayed horizontally
__________________
“Better to die standing, than to live on your knees.”
-Ernesto 'Che' Guevara
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 03-18-2009, 04:54 PM
Fubarable's Avatar
Moderator
 
Join Date: Jun 2008
Posts: 6,453
Rep Power: 8
Fubarable is on a distinguished road
Default
You're far better off asking these questions in a Javascript forum, not a Java forum.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
graphic line problem f_the_cook Advanced Java 3 12-08-2008 06:45 PM
[SOLVED] import netscape.javascript.* problem shwein New To Java 2 10-30-2008 07:43 PM
Java applet and Javascript type problem Interdit Java Applets 0 05-27-2008 02:38 PM
[SOLVED] Text Area new line problem Jay-1.1 New To Java 3 05-07-2008 05:18 AM
javascript sliderbar problem with JSP page prakash.eng JavaServer Faces 0 12-17-2007 09:15 AM


All times are GMT +2. The time now is 03:00 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org