
Search In
This is an html tag which creates popup dialog box on a web page.It represents interactive component like window.
Following is an example of Html dialog box:
<div>
<dialog id="myFirstDialog" style="width:50%;background-color:#F4FFEF;borde
To retain the selected value in the dropdown on refresh, sessionStorage is used to store the value within the user's browser. First, the values have to be set using sessionStorage.setItem("SelItem", selVal); SelItem is a variable in which we are sett
We have two methods and features to display content.
1-format the widget's data
2-display the widget
The HomePage widget already has a start() method. This method is part of the normal widget lifecycle and it is automatically call
As we all know all data are sent in form of bytes from one end and on another end we can read that bytes and convert back into original string. following code will help you to convert string to bytes and vice versa.
public static String encodeBytes
If you want to store and get data in and from Shared preferences, here is the code that can help you:-
Step 1:- Create the Preference and store the values in created preferences:-
Context context=getApplicationContext();
SharedPreferences shared
Sometimes we need to add li elements to ul dynamically based on some list. We can do this by using append() method.
Example- In the below example I have a list "users" and I want to display user names dynamically on page.
<html>
<head
QWeb is an XML-based templating language, similar to Genshi, Thymeleaf or Facelets. It has the following characteristics:
It's implemented fully in JavaScript and rendered in the browser
Each template file (XML files) contains multiple templates.
It
How to make Draw on a Canvas in Android.
If you want to create Draw on a Canvas function check below example. In the below example I have created a Suraface class. Canvas works like as an interface. I have also used onDraw() method for drawing event.
Generate Dynamic Table content by using form fields in AngularJs
We all know that "AngularJs" is adopting vastly. We already found so many example of AngularJs and Application in AngularJS.
We had created an example of "AngularJs" relate to "gene
To Create a transit location with company_id being the given company_id. This is needed in case of resupply routes between warehouses belonging to the same company, because we don't want to create accounting entries at that time. For this use this co
