jquery
IRC server & channels added!

Since the start of this week, there is an own IRC server running at irc.droom.at (webchat or connect directly with your favourite IRC client) which offers support for:

Rails
jQuery
symfony
HAML / SASS

and sports some fun channels. Check it out and populate the server

Share this on:

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks
Read More
Posted on 19th November 2009No Comments
How to process multiple checkboxes with jQuery

The functionality isn’t new: you have a list of stuff and want checkboxes before the elements so you can mass-process them. In my case, I wanted to set a number of list elements to a certain state (which in this case means a status flag in the database) so the need arose to fetch all [...]

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks
Read More
Posted on 9th November 2009No Comments
Changing selected option in a SELECT

In Symfony, nothing is as easy as it might seem. So I ran into the problem to change which element of an autogenerated SELECT is selected. jQuery came in handy to accomplish that.
In this case, my SELECT looks like:
<select id=”mySelect”><option value=”0″>please choose</option><option value=”1″ selected>some option</option><option value=”2″>some other option</option><option value=”3″>you get it</option></select>
Now, I want to have [...]

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks
Read More
Posted on 4th November 2009No Comments
JavaScript cookies

Sometimes it is useful to employ javascript cookies for certain functionality. An example:
I want to have a DIV element which displays some information and which can be closed by the user (employing the toggle() or show() / hide() functions of jQuery). If the user has closed this box, I don’t want it to reappear for [...]

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks
Read More
Posted on 30th October 2009No Comments
How to AJAX with jQuery

If you are frequently using AJAX calls in your website or application, jQuery’s built-in AJAX functions come in handy. Say you want to dynamically load the contents of a PHP file into a DIV:
<div id=”content”></div><button onclick=”jQuery.post(’getContent.php’, { contentId: ‘1′ });”>get content</button>
When you click the button, jQuery calls getContent.php and passes contentId via PUT to it [...]

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks
Read More
Posted on 30th October 2009No Comments
Using jQuery for every day tasks

A colleague asked me how to create a small folding box in javascript the other day. With JS alone, this task is really tedious so I gave him a quick heads up on how to accomplish that in a mere second with jQuery.
Let’s say we have a DIV in our HTML that has the id [...]

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks
Read More
Posted on 30th October 2009No Comments