Updating the Browser Title
hi
i have below code update browser title.
htmlpage.window.eval(string.format("document.title='{0}'", title));
but if value of title contains apostrape (') throwing error. have tryed @ , \ escape sequences. still getting error. suggesstions.
thanks
anandraj.a.
use escape character \"
htmlpage.window.eval(string.format("document.title=\"{0}\"", title));
Silverlight > Programming Silverlight with .NET – General
Comments
Post a Comment