Call Morethen one Javascript Funnction on Same Control

No.of Views520
Bookmarked0 times
Downloads 
Votes0
By  Kirti.M.Darji   On  15 Feb 2010 22:02:04
Tag : JavaScript , How to
Call Morethen one Javascript Funnction on Same Control
emailbookmarkadd commentsprint

Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com

 

Introduction

In Javascript some time Call more then one function for Control Event at same time this artical help how to Achieve this.


Technologies

.net

Language

Javascipt

Prerequisite

Visual Studio 2003 and Later

Implementation

Put Following code in Aspx Page Like

{codecitation class="brush: html; gutter: true;" width="650px"}

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">

<script language="javascript" type="text/javascript">
function hideSaveCancel()
{
//alert(document.getElementsByName('TrSaveCancel'));
document.getElementById(
'').style.visibility ='hidden';
}
script>

<title>Untitled Pagetitle>

head>
<body>


<form id="form1" runat="server">
<div>


<asp:TextBox ID="TxtAccesionNo" Text="Kirti Darji" runat="server" Width="115px" CssClass="tbfield" onChange="intOnly(this);hideSaveCancel();" onkeyup="intOnly(this);hideSaveCancel();" onkeypress="intOnly(this);hideSaveCancel()">asp:TextBox>
div>

form>
body>
html>

{/codecitation}

Thanks You


About the Author


Kirti Darji
P.G.D.C.A, M.SC(Computer Science) 3+ YEAR EXPERIENCE Visual C#.net and VB.net Windows and Web base Application

Expertise :C#.net, VB.Net,ASP.net,SQL Server, MS Access,aJAX, JavaScript,CSS,HTML,XML,N TIRE ARCHITECTURE,oOPS,Web Services,Core Ajax,visual Source safe,IIS

Occupation :SR. Software Developer
Company : MADHUVAN INFO TECH PVT.LTD
Location :AHMADABAD


 
Sign Up to vote for this article
 
About Author
 
Kirti.M.Darji
Occupation-Software Engineer
Company-Maven-Infosoft Pvt.Ltd
Member Type-Expert
Location-Not Provided
Joined date-03 Jun 2009
Home Page-
Blog Page-http://kirtimdarji.blogspot.com/
I am Kirti M. Darji Senior Software Developer Having 3.5 Years Experience In Microsoft .Net(c#) Technologies.
 
 
Other popularSectionarticles
Comments
There is no comments for this articles.
Leave a Reply
Title:
Display Name:
Email:
(not display in page for the security purphase)
Website:
Message:
Please refresh your screen using Ctrl+F5
If you can't read this number refresh your screen
Please input the anti-spam code that you can read in the image.
^ Scroll to Top