C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » General »

urgent


Posted Date: 01 May 2007      Posted By: padmavathi      Member Level: Gold     Points: 2   Responses: 1



how to call javascript function?




Responses

Author: S.Raja Ramana Rao    01 May 2007Member Level: BronzeRating: 2 out of 52 out of 5     Points: 2

//Server side

private void Page_Load(object sender, System.EventArgs e)
{
string jScript;
jScript="<script>function JavScriptFn(){alert" +
" ('Client Function in javascript is call')}</script>";
}

//HTML side
<PRE lang=html nd="28">< A onclick="JavScriptFn()" >
< asp:Label id="Label1" runat="server" Width="281px"
ForeColor="#8080FF">Click to call Javascript function.
</asp:Label> >/A >



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : ASP.NET with VB.NET Reverse a string
Previous : how can i display all table name in the databse in oracle
Return to Discussion Forum
Post New Message
Category: General

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use