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

Callback Selection Undefined #37

Open
regdog opened this issue Oct 29, 2013 · 5 comments
Open

Callback Selection Undefined #37

regdog opened this issue Oct 29, 2013 · 5 comments

Comments

@regdog
Copy link

regdog commented Oct 29, 2013

When I tried the example "Message with custom buttons (yes/no) and callback function", the alert message is "Your selection: Selection Undefined".

I downloaded Messi master from github and used messi.js. I think it is a bug.

@suzannlarsen
Copy link

I just ran into the same thing when downloading and using version 1.3. I even tried copying the exact code from http://marcosesperon.es/apps/messi/ to my own site to see if I could get it to work. It did not -- it gave me the same "undefined" result from clicking on a button. I then noticed that the demo page uses version 1.2, so I downloaded that version and voila... it worked! So I've just switched back to the older version.

@suzannlarsen
Copy link

I finally had to give up on Messi completely. I tested some others and went with "impromptu". It worked for what I required. http://trentrichardson.com/Impromptu/

@jhyland87
Copy link

What was wrong with Messi?

The problem im having, is I have an input in the Messi, with the ID #test, and for some reason, $('#test').val() is ALWAYS null... idk why

@suzannlarsen
Copy link

I don't exactly remember anymore other than always getting an "undefined" result. It was so long ago. And 2 months later I just gave up on Messi, deleted it completely, and switched to using Impromptu. So I haven't done anything with Messi since May 2014. I am sorry I cannot provide you with more details. Best of luck to you!

@jhyland87
Copy link

I had the same peoblem, then i realized the variable wasnt being defined
inside the callback... prob the same as yours.
On Aug 21, 2015 7:05 AM, "suzannlarsen" [email protected] wrote:

I don't exactly remember anymore other than always getting an "undefined"
result. It was so long ago. And 2 months later I just gave up on Messi,
deleted it completely, and switched to using Impromptu. So I haven't done
anything with Messi since May 2014. I am sorry I cannot provide you with
more details. Best of luck to you!


Reply to this email directly or view it on GitHub
#37 (comment).

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