How to write javascript code in asp.net
<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
<script language="javascript" type="text/javascript" src="../foldername/jsfile.js">
</script>
<script language="javascript" type="text/javascript">
function alertMe()
{
alert("hi How are u!")
}
</script>
<style type="text/css">
#buttonIcon
{
width: 66px;
}
</style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="head" runat="server">
<script language="javascript" type="text/javascript" src="../foldername/jsfile.js">
</script>
<script language="javascript" type="text/javascript">
function alertMe()
{
alert("hi How are u!")
}
</script>
<style type="text/css">
#buttonIcon
{
width: 66px;
}
</style>
</asp:Content>
0 comments: