note 28250 deleted from function.str-replace by philip

From: Date: Wed, 07 Oct 2009 08:06:46 +0000
Subject: note 28250 deleted from function.str-replace by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-161466@lists.php.net to get a copy of this message
Note Submitter: rit at NOSPAMchatol dot com ---- I was trying to remove newlines from a textarea input (result of failed submission of parent form - JS verification not possible in this situation) to send back to the textarea via javascript (due to the fact that setting the value in the textarea tag does not work) and had a hard time figuring it out. If anyone cares, try replacing: "%0D%0A" which is how I found it(changed my POST method to GET) and tracked it down in the address bar of my browser. Hope this helps, I sure wish someone else had posted it earlier!

« previous php.notes (#161466) next »