Here are some useful cheat sheets for web developers
Posts Tagged ‘JavaScript’
Web development reference material
Posted: July 15, 2010 in Life in generalTags: color codes, css, HTML, JavaScript, jQuery, mysql, SEO, Technology, XHTML
RichFaces: open a pop-up window
Posted: March 4, 2010 in howto, TechnologyTags: howto, Java, JavaScript, RichFaces
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.
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 — [...]
Workarounds for IE 8 and Ext JS
Posted: September 10, 2009 in Life in generalTags: Ext JS, ie, JavaScript, workaround
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 [...]
Facebook phone number exporter
Posted: August 24, 2009 in Life in generalTags: Facebook, JavaScript
I came across this script and it worked for me. This is a good time saver!
JSLint – set exception options
Posted: August 17, 2009 in howto, TechnologyTags: JavaScript, jslint
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 [...]
This might be useful trick to upload and display an image.
Configure tab sequencing on a modal window
Posted: July 15, 2009 in Life in generalTags: Ext JS, JavaScript, modal window
mmusson’s code post in this thread works well for me.
I have a page with Javascript loaded from different directories. For one reason, the Javascripts source loaded from one of the directories did not display. This means I could not use the debugger to insert break points directly. The Firbug version was 1.3.3. Initially, I was able to get the source code to show after [...]
createDelegate is an interesting way to pass a function object with a scope object. This is very useful for using callback functions. For more information, see this screencast.
