Search In
Hello Readers,
bind() is the jquey method which is used to attaches one or more event handlers for selected elements and specifies a function to run when the event occurs.
syntax:
$(selector).bind(event,data,function)
event: event is a required
Hi All,
One Way Binding :- In one way bindings, data flows only from object to UI and not vice-versa. For instance, you can have a UITextField called as nameTF which is binded with an object having property nameValue. So when the object value chang
In any project validation plays an important role.In laravel 4.x we have validation class which is used to
validating data and validating error message.
Basic Validation Example:
$validator = Validator::make(
array('name' => 'Dayle'),
a
after():
In JQuery, after() method is used to insert the data or content at the end as sibling of the element specify by the parameter.
Syntax:
$(selector).after(content,function(index,html))
Here, we have passed two parameters in the method:
append():
In JQuery, append() method is used to insert the data or content at the end of the element as child element specify by the parameter.
Syntax:
$(selector).append(content,function(index,html))
Here, we have passed two parameters in the
// date from string
NSString *dateString = [NSString stringWithFormat:@"%@",_model.time]; // model.time is the field in which we are fetching the string.
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter se
The tier pricing allows us to apply discount from the product detail and catalog list pages. This discount can be applied to the specific type of customer group or store view.
The calculated quantity discount in tier pricing on the pa
Cross-Site Scripting(XSS) is a type of attack in which attacker can insert and run the client side script in the web application. It occurs when user does not validate or encode the user inputs and show it in the browser directly. The most common scr
Hello Dear Readers,
Most of times, when we append the text field of datepicker using jQuery it not work, in other words when we integrate the dynamic datepicker using jQuery append method then datepicker work only with first field.
In this post we
Means of communication between the objects can be implemented using Delegates. One object can send messages to another object through delegates.
For example, if we want to pass data forward then it is easy through UINavigationController as we c