Helou! Yes, I did! I had a problem with querySelector :) Now it's working, thank you :) V Mon Dec 29 2014 at 23:51:58 je oseba 'Rob Dodson' via Polymer < [email protected]> napisala:
> did you include the import for core-ajax? > > On Thu, Dec 25, 2014 at 3:28 AM, <[email protected]> wrote: > >> I have this core-ajax element >> <core-ajax >> id="ajax" >> method="POST" >> url="{{url}}" >> params="{{item}}" >> handleAs="json" >> response="{{response}}"> >> </core-ajax> >> >> and this function which is called when paper-fab is pressed. >> submitLogin: function() >> { >> this.$.ajax.go(); >> } >> >> Uncaught TypeError: undefined is not a function >> nolajn_prijava.html:90 Polymer.submitLogin polymer.js:9123 >> events.dispatchMethod >> polymer.js:10707 >> (anonymous function) >> polymer.js:1987 >> tap.up >> polymer.js:813 >> dispatcher.gestureTrigger >> >> any clue? I made this script with help of >> http://stackoverflow.com/questions/24982090/polymer-form-using-paper-input-and-core-ajax >> >> Regards >> >> Tadej Golobič >> >> Follow Polymer on Google+: plus.google.com/107187849809354688692 >> --- >> > You received this message because you are subscribed to the Google Groups >> "Polymer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. > > >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/polymer-dev/524414ce-6243-438f-83ce-4ca8336bbcb1%40googlegroups.com >> <https://groups.google.com/d/msgid/polymer-dev/524414ce-6243-438f-83ce-4ca8336bbcb1%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > Follow Polymer on Google+: plus.google.com/107187849809354688692 > --- > You received this message because you are subscribed to the Google Groups > "Polymer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/CAJj5OwCns%2BFZYmAAOymswATx%3DppZmi5giyQJv8ugBX1J7uVQNw%40mail.gmail.com > <https://groups.google.com/d/msgid/polymer-dev/CAJj5OwCns%2BFZYmAAOymswATx%3DppZmi5giyQJv8ugBX1J7uVQNw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAB9tVXRVKpey-3-zod_mPhwpFuv9j_ffkOOkU4JWsyX8NZRUGg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
