Tag search for "javascript"
Back to top
Articles
Returned '11' results
jQuery : simple event listening technique
Event listening in jQuery has served me well when doing small custom events. It helps to use this technique so that the majority of browsers support t...
Simple show and hide toggle
Welcome to the first ever tutorial that I have done. I though I'd start with something simple. HTML wise you will need a link and a div box. The link ...
Left2RightBounce : JQuery Image Scrolling
Image ScrollingThe concept of this plugin was to create an image scroller that can move to the right and then back to the left. The ones that were out...
What you may not know about IF statements, ternary operators explained.
Traditional IF statements can take up more lines than you would like to. Especially when its only a small condition. Ternary operators take three argu...
Form element attribute not changing via javascript
"It just doesn't make sense!"I definitely said this many times until I managed to figure out why I couldn't change a form attribute via jQuery or even...
Javascript Plugin not working on AJAX loaded content
This is a common little problem I've come across a few times, and the first time it happened it took damn long to find the answer. The main case that ...
Disable enter key on form submit - (keycode 13)
I needed to disable the enter key on a particular form field and was able to find this solution.$('input#form_id').keypress(function (event){ return e...
jSON IE bug jquery .ajaxSubmit() - badly formed jSON
BackgroundRecently came across this problem, on a site that was already programmed by someone else, which turned out to be something simple in the end...
Firebug Plugin in Firefox - a big time saver - find bugs faster
If you haven't played around with firebug before - or even used firefox, it would be a good thing to explore if you are a web developer. Of course thi...
jQuery running with prototype
jQuery was nice enough to add in a function that helps with conflicting scripts. Typically prototype and jQuery use the $ sign to initialise their scr...
Javascript setMonth() bug - Why is the date not working?
Recently I was doing some javascript date checking and recently encounted bugs that only occurred towards the end of the month. Today being the 31st M...
Tags
301 redirect
AJAX
apache
bugs
cache
client-side
disable cache
htaccess
html
javascript
jquery
php
plugin
regex
regular expressions
seo
subdomain
svn
thickbox