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

Search In

How to change HTML tags using Javascript

Hi If you want to change the tags of HTML with another tags then you can perform this action using JS in realitme. Let's consider and example to change the <h2> tag with <i> using JS. <h2 class="xyzxterms" style="cursor: default; ">

Refresh the parent window and close the child window on clicking the button in child window

How to refresh the parent window and close the child window on clicking the button in child window using JavaScript If you want to close your child window and refresh its parent window on click of a button, we can do that with the help of following

How to Calculate the difference between two dates in PHP?

Hello readers, today we will discuss about "Calculating the difference between two dates in PHP". For example, we have 2 dates and we wants to find the difference between them in php so we can use the below code: $date1 = "2007-03-24"; $date2 = "20

How to get the current URL inside @if statement (blade) in Laravel 4?

In Laravel 4.x we have many predefined function which will help us to solve basic requirement. For getting the current URL inside @if statement (blade) in Laravel 4? are very easy.Syntax and Example for getting the current URL is: Syntax: The synt

Storing objects in local storage.

If you want to store Javascript objects in local storage, you can use HTML5 local storage. Here is the code :- var dashboard-data = { 'one': 1, 'two': 2, 'three': 3 }; // Put the object into storage localStorage.setItem('dashboard-data', JSON.stri

How to change Font size of a UI Segmented Control in IOS?

Simply Use following Code & set the "size" field according to your desired font [[UISegmentedControl appearance] setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:[UIFont fontWithName:@"STHeitiSC-Medium" size:13.0], UITextAttribu

HOW TO CHECK IF AN INTERNET CONNECTION EXISTS ON iOS DEVICE

Hi Readers, The most simple way to know that the device is connected to the internet is : NSURL *scriptUrl = [NSURL URLWithString:@"http://apps.wegenerlabs.com/hi.html"]; NSData *data = [NSData dataWithContentsOfURL:scriptUrl]; if (data) NSLog(@"De

How to import customize module in openERP?

If you want to import customize module in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → import decimal_precision as dp from osv import fields, osv, orm from tools.translate import _ import one2many_sorted cl

How to open remote server folder using python?

If you want to open remote server folder using python in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → def copy_folder(src, dest): if not os.access(dest, os.W_OK): return(False) cmd = ['xcopy'

How to use method decorators in openERP/Odoo ?

If you want to use method decorators in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → model = self.pool.get(MODEL) ids = model.search(cr, uid, DOMAIN, context=context) for rec in model.browse(cr, uid, ids, co

1 179 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: