Select all div text in single click in JavaScript

Here is the code for selecting a div content through javascript with single click of button or mouse click, just copy and paste javascript code given bellow and call the function selectText at the button click and pass the parameter divid.

Highlighting text inside div in JavaScript

The bellow article is for finding a text on the a div content and highlighting that search text.
we can use this article by two way getting highlighting search text through the prompt of java script or pass default highlighting search text to the function.

An Analog Clock Widget for Blogger or WebSite

Here is the code for getting an analog clock widget  for your blog or for your website, This all clock as on Indian time just copy and paste code bellow on your page where you want to show the clock.

Highlighting text in web pages in JavaScript

Below article is for finding a text on the webpage(document) and highlighting that search text.
we can use this article by two way getting highlighting search text through the prompt of java script or pass default highlighting search text to the function.

Finding, convert text input into hyperlink in JavaScript

The bellow article is for finding a text on the webpage and convert that text into a link.
we can use this article by two way 
Getting search text and link herf through the prompt of javascript or pass default search text and link href to the function.

Scrolling a Div in JavaScript

Here is a example to scroll div through javascript by clicking a button or linkbutton bellow is 5 linkbutton for scrolling different-different way to a div content Scroll Top,Bottom,Absolute,Up and Down.

Update table from another table in sql server

Here is the example to update table from another table where Empid is same and according some conditions.

We have to update 'tblEmpdetails' table

A search box widget for blogger

Now it is possible to add and customize search box on your blogger 
you can add search box on your blog by two way,

Getting elements of an iframe in javascript

Iframe always get through the frames collection of a document through document.frames (not through

What is AppSetting Section in Web.Config file in asp.net

Web.config file defines configuration for a web project. Using "AppSetting" section, we can define user-defined values (custom key value dictionary) like "service url, stop word, Max Connection, mail server, mail port etc, that will be accessible through configuration  manager class through out the project for any other purpose.

Example:-

<appSettings>
   <add key="connection1" value="server=tdsw008;database=ERM; uid=sa;pwd=********;"/>
   <add key="connectionSAP" value="server=90.10.0.23;database=ACDB_PROD;uid=sa;pwd=********"/>
   <add key="ServerName" value="tdsw017"/>
</appSettings>


What is the use of @ Register directives in asp.net

@Register directive informs the compiler of any custom server control (like ajaxcontrols, usercontrol.ascx) added to the page.

Example:-

What is event bubbling in Asp.Net

Handling(tracking) child controls events (only button type child controls) through parent control in data bind controls known as event bubbling.

Identifying that the Page is Post Back or not in asp.net

When you need perform different different task according to Get and Post request type then you should know about current request of which type and how to identify it.

Accept only number in a text box in JavaScript

similar:
1) Allowing only certain character in a text box.
2) Validation in TextBox which accepts only numbers value.
3) Allow only numbers / digits in TextBox.

Here is the code bellow

How to run a .bat file from asp.net in the server side

In asp.net we can use System.Diagnostics.Process class to run the .bat file but it is not allowed in IIS for some security purpose So we have

Recent Article