Tag Archives: javascript

Run Django dev server with Gulp

This is basically an extract from this excellent article by Caktus Group’s Calvin Spealman.

Posted in How to’s | Tagged , , | Leave a comment

Magnific Popup + HTML5 History API (demo)

A demo of Magnific Popup with unique URLs and browser Back/Forward button support, using HTML5 History API via History.js. GitHub.

Posted in Programming | Tagged | Leave a comment

ExtJs 4: password validation + random password button

This one is simple.

Posted in Programming | Tagged , | 1 Comment

ExtJs 4: dealing with messages (and errors) from an Ajax or REST proxy

When sending Ajax or REST requests, a proxy of ExtJs 4 typically expects a response with the following parameters: data, success and message. The message parameter is optional, but it may come in handy when you want to show the … Continue reading

Posted in Programming | Tagged , | 7 Comments

ExtJs 4: submit form on enter

It’s a shame that such a powerful framework as ExtJs 4 does not have this feature built-in.

Posted in Programming | Tagged , | 7 Comments

ExtJs 4 proxy calls ‘Create’ instead of ‘Update’

ExtJS 4: Proxy Calling ‘Create’ Instead of ‘Update’ When Saving Record. I thought I should promote the blog post which helped me tackle this small but annoying problem, which wasn’t even related to editable grid as I had thought initially.

Posted in Solutions | Tagged , | 1 Comment

Demo of Highslide gallery with Ajax URLs

Update: a pure Javascript implementation by setnicka. Highslide is an excellent JavaScript library for making galleries, but there’s one feature I was really missing in it: Ajax URLs or URLs which change as you browse images on the page. Thankfully developers … Continue reading

Posted in Programming, Releases | Tagged , | Leave a comment

Add an <option> to a <select> using Mootools

var newoption = new Option(“option html”, “option value”); try { $(‘myselect’).add(newoption, null); } catch (err) { $(‘myselect’).add(newoption); } To select the newly created option: newoption.setProperty(‘selected’, ‘selected’);

Posted in Programming | Tagged , | Leave a comment