Working with associate array in javascript
<p>I making one application which contains 2 input box and one input button.My qestion is when user enter some input eg. "I used to  going somewhere" then my result should be              "I UD GNG somewhere." For that i am using this code  <a href="http://pastebin.com/vHkhASdZ" rel="nofollow">http://pastebin.com/vHkhASdZ</a></p>

<p>Please,anyone have idea how to solve then pls  reply me asap. I solved my issue in php but in case of javascript i don't have any idea. Here is my output link in php <a href="http://codepad.viper-7.com/SQvO6Y" rel="nofollow">http://codepad.viper-7.com/SQvO6Y</a>
I want my result in javascript.Pls anyone know then give reply.</p>
