Showing posts with label jQuery. Show all posts
Showing posts with label jQuery. Show all posts

29 April, 2014

Maxvalue validation for textarea using AlloyUI - IE

You might be aware that maxlength attribute of textarea doesn't work for IE8 & IE9. If you still want to restrict the length then you can use below code using alloyUI :
A.one(document).delegate(['keypress','change'],function(e){
var maxLength = this.attr('maxlength');
  if(this.val().length > maxLength) {
   this.val(this.val().substring(0, maxLength));
   e.preventDefault();
}
}, '#<portlet:namespace/>description');

18 December, 2013

Popup Window using jquery

Hi Folks,

You can use below code for modal popup using jquery :

Floating window using jQuery

Guys,

You can use below code for floating window and can modify as per your requirement :

11 November, 2011

AlloyUI form submition

Here is the code to submit the form using ajax call within popup.

Liferay 5 with jQuery

jQuery in liferay 6

Hi Everyone,
you will be aware that jquery plugin has been removed from LR 6 and alloyui has been integrated for gr8 UI.
So Still if you want to integrate jquery with liferay 6 then follow below steps :

10 June, 2011

Ajax call using jQuery

As we all know many web applications are using ajax.
And really its magic of AJAX !!!
Here is the code how can we make ajax call in liferay :

22 March, 2011

Autocomplete Using jQuery

Hi All,

As we are having lot many requirments for autocomplete functionality.

Please see below lines of code for easy implementation of autocomplete using jquery.

create one web application

Popular Posts

Featured Post

Liferay 7.3 compatibility matrix

Compatibility Matrix Liferay's general policy is to test Liferay Portal CE against newer major releases of operating systems, open s...