|
programatically show tip in different element
|
|
26th March, 07:52
Post: #1
|
|||
|
|||
|
programatically show tip in different element
I've been trying without any success to show a tip in a form field after clicking the submit button
JS Code
Any suggestion? Thanks! |
|||
|
26th March, 13:41
Post: #2
|
|||
|
|||
|
RE: programatically show tip in different element
Make sure to use the show.ready option if applying a qTip within an event callback:
JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
29th March, 07:06
Post: #3
|
|||
|
|||
|
RE: programatically show tip in different element
Hi Craig.
Thanks for your answer. I modified the code to add the ready.true but it didn't make any difference. There's no tooltip showing when I click the button... (26th March 13:41)Craig Wrote: Make sure to use the show.ready option if applying a qTip within an event callback: |
|||
|
29th March, 12:50
Post: #4
|
|||
|
|||
|
RE: programatically show tip in different element
jorfermo, make sure you're stopping form submission on the click event.
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
30th March, 07:02
Post: #5
|
|||
|
|||
|
RE: programatically show tip in different element
Yes... i was stopping it.
Just to test I added this code and it doesn't work either JS Code
JS Code
|
|||
|
30th March, 12:45
Post: #6
|
|||
|
|||
|
RE: programatically show tip in different element
make sure #formfield is there, and also check if the event is firing. There's nothing wrong with any of the qTip code as I can see. It must be either your selectors or a problem with how your handling the form events.
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
31st March, 08:05
Post: #7
|
|||
|
|||
|
RE: programatically show tip in different element
Ok.. It's working, the tooltip is created but it appears when I mouseover #formfield!!
What I want is the tip shows on #formfield when I click the button. Is that possible? What am I missing? Thank you! (30th March 12:45)Craig Wrote: make sure #formfield is there, and also check if the event is firing. There's nothing wrong with any of the qTip code as I can see. It must be either your selectors or a problem with how your handling the form events. |
|||
|
31st March, 10:53
Post: #8
|
|||
|
|||
|
RE: programatically show tip in different element
forfermo, try setting show and hide to false:
JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
31st March, 12:20
Post: #9
|
|||
|
|||
|
RE: programatically show tip in different element
Nothing... it doesn't work I simplified the code so that you can try:
If you click on link1, it shows the tooltip on link2 when you mouseover it. JS Code
JS Code
|
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| [Solved] how to set an ID for the qtip generated element | buntu | 8 | 3,226 |
16th February 09:53 Last Post: johannapelkonen |
|
| [Solved] Getting tooltip to appear on different element with the same class name | andrewhoule | 5 | 1,446 |
25th August 18:17 Last Post: Craig |
|
| show fixed on the first time | cyberziz | 2 | 1,255 |
11th March 08:29 Last Post: cyberziz |
|
| [Solved] Take tooltip content from the element attributes | AndyG | 17 | 16,072 |
31st January 07:14 Last Post: eggpoker |
|
| Style by element class, content by element id | teeks | 14 | 5,649 |
15th November 21:35 Last Post: garbledygook |
|
| Use hovered element's own HTML for qtip content | discern | 2 | 3,707 |
10th December 13:52 Last Post: discern |
|
| How to show the tooltip programmatically? | overthetop | 2 | 2,212 |
30th November 10:29 Last Post: overthetop |
|
| Open a new tip on a tip close | hari41980 | 3 | 1,742 |
31st August 11:49 Last Post: Craig |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




