January 21, 2009

Rich Textbox control

It's a cool control which we can use as our content editor.
We have some sample as ASP, PHP or HTML for you.
======================================
FreeRTE_v1 download

January 18, 2009

Javascript function: window.open

Mostly I forget this syntax because of the property here is too long for me to remember
======================================
window.open('yourpage.html','','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=600, height=600, left=200, top=200');

January 14, 2009

encodeURIComponent

It's a javascript function which is used to encodes a string as a component of a URI.
======================================

<script type="text/javascript">
document.write(encodeURIComponent(",/?:@&=+$#"));
</script>
--------------------
%2C%2F%3F%3A%40%26%3D%2B%24%23