Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

how to do ajax call through jquery function in rails 4 ?

This is our ruby on rails  view from where called our jquery function().  <td id= <%= "reject_#{event.id}" %>> <%= button_tag "Accept" , :onclick => "abc('#{event.id}', 'Accept');" %> &

How to call previous form method in window application C#

Sometime there is a situation where we have to call previous page method after completing the current page process. This is usually required when we open the page in Dialog box. Here below is the example of this.In this example, I open the 2nd form i

How to make some part of string bold in UITextView or UILabel?

If you want to set some part of the UITextview to BOLD then you can implement the following code :- NSString *str = @"I belong to Dehradun"; // default string NSMutableAttributedString *attString=[[NSMutableAttributedString alloc]

How to change EditText cursor color?

Hello, This blog will help you to change the cursor color of Android EditText View by creating custom XML file under app's drawable folder. By using following steps you can do it. Step-1 Create a custom xml file custom_edit_text.xml under res/

How to change checkbox icon

In certain cases, according to the application we need to change the mark or the drawable of the checkbox. Step 1:- Create selector in the  drawable, say checkbox_selector.xml :- <?xml version="1.0" encoding="utf-8"?> <selector xmlns

Convert NSDate to NSString in iOS

This is a simple code snippet which explains's you how to convert NSDate to NSString in iOS. Create a string as NSString *myDate & a date formatter. Suppose we have picked a random date from date picker so that the date we have picked is alre

How to Integrating Biometric (Touch Id) Authentication in iOS Application?

iOS 8 SDK by Apple provides Local Authentication API that allows developers to integrate Touch Id authentication in applications. To integrate Touch Id authentication follow the below steps: Import Local Authentication framework in your controlle

How can I give a 3D dimension of a layer with Python?

I need your help with a problem regarding the 3d plot. I have created a layer T2 with the below code, and what I what it to do is to give this layer a volume with a third dimension. That means to be raised it, let's say 2 or 3 units, and from an

How to assign current date to a date field in odoo v8

If you want to create date fields to assign current date in .py file in openerp, you can use the below code for this from datetime import date from openerp.osv import fields, osv from openerp.tools.translate import _ class account_invoice(osv.osv_m

How to create a custom UITableViewCell separator in iOS

In UITableView every UITableViewCell contains a separator line by default. If you need to create your own custom separator line then use below code inside cellForRowAtIndexPath method. UIView* separatorLineView = [[UIView alloc] initWithFrame:CGRect

1 285 408
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: