Add a custom method in jQuery validation plugin

jQuery validate plugin has rich set of method to validate html form. To add custom method of validation in this plugin see following example which shows add domain validation method to html input box. Continue reading “Add a custom method in jQuery validation plugin”

Advertisements

Prevent jQuery and MooTools conflicts in Joomla

Jquery and mootools both are popular JavaScript library and Joomla developers often use both. when you want to use both in joomla module or joomla component then remember the point is that mootools library must be loaded before jquery. So far not a big deal, but without forcing mootools to be loaded first there is a chance that your jquery code will be conflict the code. Continue reading “Prevent jQuery and MooTools conflicts in Joomla”