Hi All,
This Tab Add/Close functionality working as a static . I want to how to dynamically Add/Close tab items.
Related to C# / JavaScript
implemented code :
<html>
<head runat="server">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="js/JavaScript.js"></script>
<script type="text/javascript">
function openfunc()
{
winGoogle = window.open("http://google.com");
winGmail = window.open("http://gmail.com");
winMsdn = window.open("http://msdn.com");
winyahoo = window.open("http://yahoo.com");
windeveloper = window.open("http://developercenter.azurewebsites.net/");
}
function closefunc()
{
winGoogle.close();
winGmail.close();
winMsdn.close();
winyahoo.close();
windeveloper.close();
}
</script>
</head>
<body>
<h1>Multiple Tab</h1>
<input type="button" value="Open tab" onclick="openfunc()"/>
<input type="button" value="Close all tab" onclick="closefunc()"/>
</body>
</html>
How to implemented dynamically
Thanks,