Open regdog opened 11 years ago
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.
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/
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
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!
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" notifications@github.com 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 https://github.com/marcosesperon/Messi/issues/37#issuecomment-133436279.
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.