Netbeans – Goto matching brace/bracket
If using Netbeans for your development and you have a horrendous spagetti coded “if” statement, you can use a keyboard shortcut to go to the matching opening or closing bracket.…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
If using Netbeans for your development and you have a horrendous spagetti coded “if” statement, you can use a keyboard shortcut to go to the matching opening or closing bracket.…
Say your message board on your blog uses the following request URL to find and display the correct data: http://www.mysite.com/blog/index.php?category=news&year=2012&month=1 This is a rather simple request, but it is not…
I need this quite often so I thought I would put it on my site. Nothing more, nothing less. (Click it to make it bigger)
You’ll have no doubt seen: padding: 5px 10px 5px 10px; in a CSS file. Do you ever wonder which of the properties are which? Just start at the top and…
Found this great list of CSS features. https://developer.mozilla.org/en/CSS/CSS_Reference
If like myself, you often attach functions to elements using jQuery, for example: $('.btnName').live('click', function() { //do something }); There is a nice little browser extension that will show all…
We all have to bind events to elements: $('#link).click(function(){ do some stuff }); But, what if that element doesn’t exist yet? Well, you can use the “live” handler: $('#link').live('click', function(){…
Just a simple function to sort an already populated list. Obviously it would be easier to sort before populating, but there are the odd occasion where this is more complicated…
Its not a claim to fame, or a preempt to a court case to a ‘big hitter’, but back in the year 2000, when I was a fledgling junior programmer,…
TabIndex is an attribute to HTML elements that tells the browser which control takes focus next when TAB is pressed. <input id="one" tabindex="3" /> <input id="two" tabindex="1" /> <input id="three"…