-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Can it be triggered in code. #6
Comments
Please share the code you wrote so I can better understand |
I don’t have the code in front of me… but here is what I’d like to do.
I am successful in implementing the jTippy to show the tooltip when I either hover over the control or it gets focus (an input box for example)… What I want to do is trigger that Tool tip programmatically so, if for instance, the user clicks something elsewhere on the page – I want to set the focus to a field at bottom of form, and have the tool tip open as more of a notification hint that the user should go there to fill out that field.
Simply setting focus using jQuery like
$(‘#the-field’).focus()
…--or—
$(‘#the-field”).trigger(‘focus’)
does not work… it does send the cursor there, but tooltip does not open.
Ideally there would just be a way I could just open the tooltip via jquery code.
-Jim
From: HTMLGuy, LLC ***@***.***>
Sent: Tuesday, April 12, 2022 9:40 AM
To: HTMLGuyLLC/jTippy ***@***.***>
Cc: sbsnet ***@***.***>; Author ***@***.***>
Subject: Re: [HTMLGuyLLC/jTippy] Can it be triggered in code. (Issue #6)
Please share the code you wrote so I can better understand
—
Reply to this email directly, <#6 (comment)> view it on GitHub, or <https://github.com/notifications/unsubscribe-auth/AAH7BAC7WVDLHOOLMIQ2CLDVEV4JHANCNFSM5TELDZOA> unsubscribe.
You are receiving this because you authored the thread. <https://github.com/notifications/beacon/AAH7BAFNCBCQL47RPAQMRCDVEV4JHA5CNFSM5TELDZOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOIFPPMKA.gif> Message ID: < ***@***.***> ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Curious if it can be called from jquery code.
For example if something happens on page, set focus to a particular element and have the JTippy open.
I've tried just setting focus to that control with jtippy set to look for focus and it does not work.
The text was updated successfully, but these errors were encountered: