Untitled

JQuery Toggle Confirm Plugin

I have written a jquery plugin called Toggle Confirm and its a toggle button but on its click event you can return false to cancel the action. This is useful when you want to add a “Are you sure?” confirm …
Continue reading

Jquery UI Dialog Moving Elements

The Jquery dialog which is part of the ui set of widgets is great for adding pop up functionality to your pages. However the plugin will move the element that is being turned into a dialog to the bottom of the DOM. This can be problematic if you are displaying part of a form in a dialog because the form element will be popped out of its form element and not be posted.

The only solution to this was to move the elements back manually when the dialog closes. You can do this with the following.


Continue reading