Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Replacing hyphen with line break

701428Aug 24 2010 — edited Aug 27 2010
Hi,
In my application I want to replace the hyphen with line break
. I am using APEX4.0
I am using the following javascript code:

<html>
<script type="text/javascript">
function test()
{
var visitorName = "<br/>";
var myOldString = "&P2_SI.";
var myNewString = myOldString.replace(/-/g, visitorName);
}
</script>
</html>

I have no clue how to get it executed and make the javascript work.... can someone help?
This post has been answered by le on Aug 27 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 24 2010
Added on Aug 24 2010
24 comments
1,527 views