Android device back button is to navigate from current activity to previous activity. In that case we are using below code...
Regex Character Classes with example
Regex Character Classes :
[abc] : a,b or c characters only
[^abc] : Any character except a, b or c character.
[a-zA-Z]...
What is regex in Java and How to use it.
Java Regex :
Java Regex and regular expression is an API which define pattern for searching or manipulating strings.
It...
What is Java Bean with Example
Java Bean : Java bean is a class which contains all the properties are private and contains getter/setter methods corresponding...
How to check internet is connected or not in android
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class...
Apply css class on html elements using jQuery
$('div').addClass('active');
// here active is the class name which you want to apply on your html page.
// div is the...
Replace html contents using jQuery
$('li').html('New HTML'); // this replaced all list items on your page with specified contents.
$('div').html('New...
What is $(document).ready() ?
What is $(document).ready() ?
Before you can safely use jQuery to do anything to your page, you need to ensure that the...
What do you mean by $ symbol in jQuery ?
jQuery is the library of javascript functions. $ is used for accessing functions which are defined in librar...
Subscribe to:
Posts (Atom)