Coder Social home page Coder Social logo

Question: Event handler about quojs HOT 4 CLOSED

soyjavi avatar soyjavi commented on July 30, 2024
Question: Event handler

from quojs.

Comments (4)

soyjavi avatar soyjavi commented on July 30, 2024

Key in mobile??? It's ambiguous no?

Enviado desde mi iPad

El 28/01/2012, a las 23:23, Philipp Schreiber
[email protected]
escribió:

Hey guys,

perhaps I'm just a little bit dump, but: how can I achieve this examples with QuoJS:

jQuery('textarea.note').live('keypress', function() {
   alert('keypress');
});

jQuery('textarea.note').live('keydown', function() {
   alert('keydown');
});

jQuery('textarea.note').live('keyup', function() {
   alert('keyup');
});

I tried:

$$('textarea.note').on('keyup', function() {
   alert('keyup');
});

What's wrong?!

Cheers
Philipp


Reply to this email directly or view it on GitHub:
#9

from quojs.

PhilippSchreiber avatar PhilippSchreiber commented on July 30, 2024

Ok, same question with change event. This doesn't work for me:

$$('textarea.note').on('change', function() {
    alert('change');
});

And by the way: What are the right events of the virtual keyboard on a mobile? On my iPad the jQuery events from my first post work.

from quojs.

soyjavi avatar soyjavi commented on July 30, 2024

Fixed! (please download new release)
2f95ec6

from quojs.

PhilippSchreiber avatar PhilippSchreiber commented on July 30, 2024

Works! Thank you!

from quojs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.