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

Don't work with submit button #179

Open
Teddy95 opened this issue Apr 18, 2014 · 3 comments
Open

Don't work with submit button #179

Teddy95 opened this issue Apr 18, 2014 · 3 comments

Comments

@Teddy95
Copy link

Teddy95 commented Apr 18, 2014

Hi, tipsy don't work in the follwing example:

<button class="tipsy" type="submit" title="Tooltip title">Submit Button</button>
$(":submit").off();
$(":submit").click(function () {
    // Some action
    return true;
});

In this example it works:

<button class="tipsy" type="reset" title="Tooltip title">Reset Button</button>
$(":submit").off();
$(":submit").click(function () {
    // Some action
    return true;
});

Best,
Andre

@Teddy95
Copy link
Author

Teddy95 commented Apr 28, 2014

It doesn't work if you use the click event.

@leandroruel
Copy link

I know this was opened at 2014, but, if you forget to instantiate the plugin never works right.

$(".tipsy").tipsy();
@Teddy95
Copy link
Author

Teddy95 commented Mar 21, 2015

I did that. It works everywhere else too, but it doesn't work in the example above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants