
Search In
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');" %>
&
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
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]
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/
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
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
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
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
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
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
