简体   繁体   中英

Dynamically change the page title to a textbox in IE11

How to change the page title dynamically in IE11?

The extension is highlighted.when click the extension it will take the page title and XML path and send it to the server using a ajax call.The page title is shown with the extension icon in a text box.

The thing is if i am changing the title it should dynamically reflect in the server also.but its not working to me , how can i do that?

can any one help me to do that?

[ 在此处输入图片说明 ]

you can use this on Javascript:

 document.title = "Your new title";

But is no good for SEO

You can use document.title = "title"; for javascript. Use the ajax request to send the changed title along with the XPath as soon as the changes occure.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM