Replacing hyphen with line break
701428Aug 24 2010 — edited Aug 27 2010Hi,
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?