User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 375,238 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,112 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Using ASCII codes??

Join Date: Oct 2007
Posts: 6
Reputation: jiggy_g is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jiggy_g jiggy_g is offline Offline
Newbie Poster

Question Using ASCII codes??

  #1  
Mar 3rd, 2008
Hello List!

I'm having a problem getting a line break/feed on a page...I'm passing parameters from one page to another (this particular one is being passed to a textarea), and would like to pass them with page breaks between them...

Here's my current code
<script language="javascript">
     openIssuesWindoid('../../GUtilities/IssueCreator/IssueCreator.asp?name=<%=session("userFullName")%>&email=<%=session("userEmail")%>&summary=Station Type Change Request&description=Location: <%=LocStringsArray(z)%>Occupant: <%=OccupantStringsArray(z)%>Current Station Type: <%=StationTypeStringsArray(z)%>&client=<%=session("currentClientID")%>&site=4-1-Where');
</script>

'IssueCreator.asp':
<tr>
  <td width="100%" colspan="2">
  <br>*Detailed Description:
</tr>

<tr>
  <td width="100%" colspan="2">
  <textarea cols="55" rows="10" name="txtDescription"><%=Request.QueryString("description")%></textarea>
  </td>
</tr>

Currently in the textarea I'm seeing:
Location: Atlanta-30th Floor-3034BOccupant: Andersen, JasonCurrent Station Type: Floor Shared

What I WANT:
Location: Atlanta-30th Floor-3034B
Occupant: Andersen, Jason
Current Station Type: Floor Shared


How can I accomplish this? Someone said to use the ASCII code for the line feed, but I haven't been able to get that implemented...

Thanks in advance for your time and expertise!! It is greatly appreciated!
-jiggyg
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 4:24 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC