Archive | Javascript RSS feed for this section

Img Notes – jQuery plugin

TweetUPDATE : A new version of this plugin has been released and can be found here This was another one of 'want it now()' things. A simple way to display notes over images when you roll your mouse over the image - you got it right! Flickr has that... There are a couple of similar [...]

Read full story · Comments { 47 }

Showing combobox option instead of value in editor grid for extjs

TweetWhile working with Editor Grid of ext js, I noticed that if a combobox is used in some column for editing, then it shows the option value instead of label. This forces you to keep option label and value same. But this is not possible always. Searching the extjs forum for this problem, I got [...]

Read full story · Comments { 6 }

PHP array to JSON in CakePHP

TweetIt is an often asked question on the CakePHP google groups, how to pass a php array to javascript. The answer is to convert the PHP array to JSON, I have seen several solutions recommended which included using vendor classes, the PHP 5 extension for JSON - however the recommended way is to use the [...]

Read full story · Comments { 8 }