HTML Code Decoder

We talked about HTML encoding and create a handy tool on HTML Code Encoder post. We talked about why encoding is important and why we can't ignore that. However, decoded HTML code is also needed in many cases. Specially, we need to decode our old code to update or modify to make it more user friendly. If we want to update our cool project on blog or site, we need a decoder for encoded code.



Check out HTML Code Encoder.
Simple as this script is used for above decoding tool.
     function decode(encodedStr) {
       var TxtAra = document.createElement('TxtAra');
       TxtAra.innerHTML = encodedStr;
       return TxtAra.value;
     }
     $('YourButton').click(function(){
       $('YourTextarea').val(decode($('YourTextarea').val())); 
     });

Check out HTML Code Encoder.

No comments:

Post a Comment

Grab The Button...

Grab the above button and add to your blog or website to get easy access to Virtual Species. Simply click the textbox, copy the code and paste where you want to see the button. That's it!