• Saran

  • Saran Chamling loves the web technology, and enjoys designing, exploring and writing about it @sanwebe.com. You can find him at Twitter, Google or Facebook.

Saran's Article(s)

  • Select Box Change Dependent Options dynamically (JavaScript Object)

    There are different solutions you can find that shows how to change/load the content in child <SELECT> element, depending on the selection of the parent <SELECT> options. Most examples uses Ajax or page refresh methods to achieve, which of-course are useful depending on the circumstance. But if you wish to use another simple method using pure JavaScript, here’s how you can do it.
  • Simple Chat Using WebSocket and PHP Socket

    The WebSocket is a feature of HTML5 for establishing a socket connections between a web browser and a server, once the connection has been established with the server, all WebSocket data (frames) are sent directly over a socket rather than usual HTTP response and requests, giving us much faster and persistent communication between a web browser and a server. Let’s create a simple chat system using this cool technology (HTML5 WebSocket and PHP).
  • Remove WordPress header meta / links

    Recently I was working on a WordPress theme, i needed to remove all the meta and edit links from WordPress theme header, because I was going to put all my jQuery script files at the bottom of the page to speed up page loading. Here’s what I found on the net to remove meta links from WordPress theme header, it just removes everything.
  • Creating Shoutbox with jQuery & PHP Facebook Style

    Facebook has this nice little chat box that doesn’t take up much space, and people can instantly interact with their friends, it is a cool feature to have in any website. Let’s get inspired and create an similar shoutbox which will look similar to Facebook chat box.