
Search In
In Swift if you want to check the Wifi connection in your device then use following code.
This is a function which returns Reachability instance (reachability class object) value as a returnvalue for wifi connection availability.
+ (instancetype)r
Do While loop Executes a statement once, and then it repeats the execution of the loop until a condition expression becomes false.
The do while loop consist-
do {
statement
}
while (expression) ;
statement--> The statement to be executed
JavaScript String charAt() Method
This method is used whenever we want to Return the first character of a string
for example:
var str = "PRANAV CHHABRA";
var v = str.charAt(0);
Result:
P
Now below is the full example to illustrate charAt() method
Basically toFixed ( ) method is used to converts a number into a string , by keeping upto a specified number of decimals .
Syntax ->
number.toFixed ( [ fractiondigits ] ) ;
Parameters ->
number -> It is mandatory , and required a Number
As In my previous post I have already described How much SMO (Social media optimization) and marketing is important along with SEO, I just came across with this wonderful article describing how social media and search engine optimization can produce
Many times we need some sections of HTML which need to be incorporated in many views and just to reduce redundancy we create separate views for it.
An example to accomplish that is stated below:-
Including other views in other view syntax :-
@
Hi All,
To add image as background image in JPanel ,JLabel is used for example:-
setLayout(new BorderLayout());
try {
image = ImageIO.read(new File("D:\\New folder (2)\\fish.jpg"));
} catch (IO
Sometimes we need to find the size of a file at the time of uploading to prevent the file that is greater than a particular size. We can achieve this by handling "change" event of a input-file.
Examlpe: Suppose I want to upload a file less than 3 MB
To Add two fields to product for storing a latitude and a longitude, then for this you have to create a new form widget to display the latitude and longitude of a product's origin on a map.
Displaying the two position fields and a map widget using th
For current cordinate we have to add a button resetting the product's coordinates to the location of the user, you can get these coordinates using the javascript geolocation API.
Now we would like to display an additional button to automatically set
