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

getElementByTagName Not defined error #3

Open
goswamikailash opened this issue Nov 15, 2018 · 3 comments
Open

getElementByTagName Not defined error #3

goswamikailash opened this issue Nov 15, 2018 · 3 comments

Comments

@goswamikailash
Copy link

goswamikailash commented Nov 15, 2018

let fin = getElementByTagName(message, 'fin', Strophe.Strophe.NS.MAM);

Getting Error getElementByTagName not defined.

@jcbrand
Copy link
Contributor

jcbrand commented Nov 15, 2018

getElementByTagName doesn't exist. There's only getElementsByTagName, note the s.

@sualko
Copy link
Member

sualko commented Nov 15, 2018

@goswamikailash how is this related to the rsm plugin?

@goswamikailash
Copy link
Author

As per written in Usage

var fin = getElementByTagName(message, 'fin', Strophe.NS.MAM);
var result = getElementByTagName(message, 'result', Strophe.NS.MAM);

getElementByTagName with three argument. There is no method like this.

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

3 participants