Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pl(title).html('Test Title') fails on android phones #34

Closed
johnarleyburns opened this issue Apr 9, 2012 · 1 comment
Closed

pl(title).html('Test Title') fails on android phones #34

johnarleyburns opened this issue Apr 9, 2012 · 1 comment

Comments

@johnarleyburns
Copy link

To dynamically set the title, prevel can be used. Normally this works fine:

pl(title).html('Test Title');

However on android phones (tested Samsung Galaxy II), it fails with DOM Exception 7. There is a workaround:

pl(title).text('Test Title');

Which works fine.

@chernikovalexey
Copy link
Owner

Use pl().text() instead of pl().html() to set the title dynamically (it works everywhere)?

I think, it's obvious that title tag does not support html, so html function is not appropriate...

Correct me, if I'm wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants