Subscribe to Subscribers
Talk to Webmaster Tony John

Online Members

baskar
More...

Forums » .NET » ASP.NET »

Dynamic change title text


Posted Date: 05 Sep 2006      Posted By:: Sandeep Kumar     Member Level: Silver    Member Rank: 0     Points: 2   Responses: 4



How can we dynamically change title text of a popup window open by window.open() using java script



Responses

#74016    Author: Sidhartha Gundavarapu      Member Level: Gold      Member Rank: 0     Date: 05/Sep/2006   Rating: 2 out of 52 out of 5     Points: 2

two approaches.. one is to pass parameter to the child window from the parent window. second approach is to make the title element as a server tag (adding runat=server) and set the value from the server side (Page_Load) code


 
#74018    Author: Gaurav Sharma       Member Level: Gold      Member Rank: 245     Date: 05/Sep/2006   Rating: 2 out of 52 out of 5     Points: 2

Hi check the Posts of this Forum
http://www.codingforums.com/archive/index.php?t-49603.html
Thanks



 
#74031    Author: Rajaraman      Member Level: Gold      Member Rank: 80     Date: 05/Sep/2006   Rating: 2 out of 52 out of 5     Points: 2

<html>


<FORM>
<INPUT type="button" value="New Window!" onClick="pop()">
</FORM>
<script>
function pop()
{
alert();
window.open('this.href','width=400,height=200');


}

</script>
</html>






 
#74061    Author: Kr. Hemendra Singh Shaktawat      Member Level: Gold      Member Rank: 0     Date: 05/Sep/2006   Rating: 2 out of 52 out of 5     Points: 2

Hi,

Use document.title to do so.

Also go through the links below.
http://www.dynamicdrive.com/dynamicindex11/animatedtitle.htm
http://javascript.internet.com/page-details/dynamic-title.html

Hope this helps.

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com



 
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 : I got It
Previous : how 2 edit data in data grid
Return to Discussion Forum
Post New Message
Category:

Related Messages
Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.