Web development reference material

Here are some useful cheat sheets for web developers Advertisements

Read more "Web development reference material"

RichFaces: open a pop-up window

This thread was helpful for me to create a button that opens a new window. However, I had to move the script into onclick part of the button, instead of creating a separate jsFunction.

Read more "RichFaces: open a pop-up window"

jslint plusplus

Today, my coworker asked why he can’t use ++ operators. I responded that jslint’s plusplus configuration ban it. He certainly was annoyed by such change in the configuration. A quick look into the reasoning behind the ban reveals the following statement from Douglas Crockford’s JSLint – JavaScript: The Good Parts: The ++ (increment) and — […]

Read more "jslint plusplus"

Workarounds for IE 8 and Ext JS

For the last couple days I ran into JavaScript errors with toolbars for Ext JS. One of the issues is clearly documented here. I just added hideMode:’offsets’ to the toolbar definition and the error went away. The other one, I had to add enableOverflow: false option to the toolbar to avoid hitting Object required error […]

Read more "Workarounds for IE 8 and Ext JS"

Facebook phone number exporter

I came across this script and it worked for me. This is a good time saver! Advertisements

Read more "Facebook phone number exporter"

JSLint – set exception options

I worked with JSLint today to clean up my local code. While cleaning, I encountered a parameter name that had underscore in its name. JSLint didn’t like this and complained. Since this parameter name was used to communicate with the server and could not be changed, I needed to set an exception in the JavaScript […]

Read more "JSLint – set exception options"

JavaScript trick

This might be useful trick to upload and display an image. Advertisements

Read more "JavaScript trick"