
Search In
If you want to find even number of table rows then it's not a difficult task now, we can do this easily with the help of jQuery :even selector.
The :even selector will choose all those components which have even index i.e 0,2,4,6 etc.
Most of t
In magento, sometimes you need to add custom field to existing contact form as per client requirement. Here is an easy way to customize magento form by adding new field.
You can also add more fields as per need.
Lets see how can we do it.
Step 1. E
If you want to find odd number of table rows then it's not a difficult task now, we can do this easily with the help of jQuery :odd selector.
The :odd selector will choose all those components which have odd index i.e 1,2,5 etc.
Most of the tim
The jQuery siblings() method gives back all siblings components of the component which we have selected.
By using sibling() method we can select all the siblings of the component which we have selected and then we can use them.
Syntax
sele
live() method:
Live method is used to attach events to selected elements and also used to specify a function when the event occurs. It is similar to bind method but live method also attach event handler to elements generated using script while bind
The jQuery next() method gives back the next sibling components of the component which we have selected.
By using next() method we can select the next siblings of the component which we have selected and then we can use them.
on() method:
On() method is used to attach events to selected elements and also used to specify a function when the event occurs. It is similar to bind method but on() method also attach event handler to elements generated using script while bind ca
Rails provide us with some pre-defined methods or hooks which can be invoked after or before the execution of a certain method in the object life cycle.
Callbacks are called in certain moments of object's life cycle which we will get to know in
The jQuery nextAll() method gives back all next sibling components of the component which we have selected.
By using nextAll() method we can select all the next siblings of the component which we have selected and then we can
JQuery Slider as Substitute for Bootstrap Carousel for Rails
Hello readers,
We all may have integrated Bootstrap Carousel with templates in order to make images sliding one after the another, giving our template a lively look.
JQuery slider is qui
