Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: how i can pass values in querystring


Message #1 by "ejaz" <ejaz@p...> on Mon, 22 Jul 2002 11:36:46 +0500
hi
i m using query string to pass values of a textarea, now problem is that
when i change the value of textarea then javascript query string shows the
old one. How i can overcome this problem so that it shows me the values
whenever i change in textarea without refreshing the page because refreshing
page will delete all input values in the form.

Example:
when page loads the value of texarea is "Type in the text"
q=document.textarea.value;
document.write "<a href:"mailto:ejaz@p...?subject=hi&body="+ q
+"">mail me</a>"
thanking you!


  Return to Index