Scribbles about Javascript

JavaScript is a scripting language widely used for client-side web development. Over the years it’s become extremely popular with developers as it’s commonly used to tie AJAX all together.

BrightCherry have embraced AJAX and use it widely on projects. We’ve also sprinkled some elements of AJAX around our site.

It’s an extremely powerful and flexible scripting language, which can provide the makings of some pretty cool effects, some of which will be archived in this section.

Image frame
Javascript – How To Remove The Trailing Hash In A URL

Javascript – How To Remove The Trailing Hash In A URL

Ok, this is a quick note to myself, because I always seem to forget this code, and I have no idea why, because it’s so simple. So, the scenario is that when I’m writing AJAX code, a lot of the times I use a hyperlink to trigger an action. For example, look at the following [...]



Maruf scribbled this post.
2
Javascript
Apr 25th, 2010
Image frame
HTML Form Effect- Remove Default Value On Focus

HTML Form Effect- Remove Default Value On Focus

This Javascript form effect basically removes the default value (e.g Your Name) when the input field is on focus. If nothing is entered, and focus is taken away from the input field, the value is displayed again. It’s a pretty cool effect, which I’m always using on a lot of projects. Here’s an example (click [...]



Maruf scribbled this post.
4
Javascript
Dec 4th, 2008
Get a free quote