
Search In
Difference Between nil?, empty? and blank? in Rails :-
To understand the difference between these three methods you have to look at each of them individually.
In Ruby nil? is a standard method that can be called on all objects and returns true for
Hello Readers,
Here, I will tell you about the character limit on textarea using Jquery.
For Example, If the character limit to write on textarea is 100 character ,then we write only 100 character on the textarea not more than 100.
Therefore, we u
To Recursively load the template objects and create the real objects in openerp show detail given below.
1-param company: company the wizard is running for
2-param code_digits: number of digits the accounts code should have in the COA
3-param tran
To retrieve the text selected by the user is to get the indices of the starting and the ending character of the selection. After that you need to extract that particular portion from the form field’s value using those retrieved values.
To get the i
If you want to replace html element with some other element, the jquery replaceWith method can be used.
You can replace some specified DOM element with the other html or DOM element. The replaceWith() method is used in this case.
Syntax:
selector.
Below are the steps to promote the changes from one ORS to another:
Step 1: Launch the jnlp file.
Step 2: Enter you credential, select the ORS.
Step 3: Under Workbench, select Repository Manager.
Step 4: Connect to Master Database.
Step 5: Under Vali
Anonymous methods are code with just like delegates.They contain the body part without defining the signature associated.
You need not specify the return type in an anonymous method.
Writing an Anonymous Method
Anonymous methods are declared wi
Hello Readers!
If you wish to give your HTML elements an effect this an be achieved by using css transform property. The CSS transform property allows us to visually manipulate an element by rotating, skewing, translating, or scaling. This property
ArrayList:
The arraylist class provides dynamic arrays for storing elements. It extends AbstractList class and implements List interface. It stores only one type of objects (generic array).
Syntax:
ArrayList<String> arr=new ArrayList<Str
Whenever you make registration form in Cakephp all you need to do is to make various field for username , email, password, gender etc etc... If you are inserting these values in the database then you should know that you should encrypt your password
