PDA

View Full Version : browser title change ... ?



coleman8er
22 Jan 2008, 10:03 AM
Is it possible to have the titlebar of a browser change without having a hard refresh?

What I have currently is and ASP.nET web app, that contains a grid that displays employee data. When a user clicks on an employee, I want the titlebar to say 'Company Name - Employee Name'.

onRowActivate change title bar?

The only possible solution I can think of is use AJAX to send an http_request and change using:

document.title= <% compname + ' - ' empname %>

But I'm not quite sure how. Any help would be great!

Alan
22 Jan 2008, 09:30 PM
You should be able to manage that with just JavaScript. JS really isn't my area, so hope this helps http://javascript.internet.com/page-details/dynamic-title-bar.html