|
|
encode string in javascript - Javascript
|
Views : 310
|
|
Tagged in : Javascript
|
|
|
Report This Scrap as Inappropriate We request you to choose the appropriate categroy and subcategory that suits your
objectionable concern about the scrap, So that our team can review and find out whether it violates our Guidelines or the
scrap is not suitable for all viewers.
|
Encode string in Javascript:
Use escape() to encode a string in javascript. This function encodes special characters, with the exception of: * @ - _ + . / ...
<script type="text/javascript">
document.write(escape("hscripts.com - Web Master Resource!!!!!........"));
</script>
O/P:
hscripts.com%20-%20Web%20Master%20Resource%21%21%21%21%21........ |
|
By - Ramya, On - 2010-01-11 |
|
|
|