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
onmouseover #10
Comments
Hello,
|
Ok, but the problem is that I have a lot of div with class = ajax; |
I mean that your code give me var= undefined.... |
Oh, I see.
I guess in a future release of the plugin I would have to implement this. |
it doesn't work... in console log i see "var=undefined" yet Have you other suggestion? thanks again... |
Well this works http://jsfiddle.net/1kb064w7/ |
It's work, but how to apply this example to "ajaxContentUrl" (not static "content") I'm using....? I tried to return from function the url of script (e.g.; return 'myscript.php?var='+dataID') but it doesn't work... |
sorry... my application is on local server but use exactly same syntax... |
The same code will be used as here #10 (comment) Basically that is the same code as in the jsfiddle. If you can make some test environment somewhere I can help you more :) |
Ok; I've make following test environment: this is your solution (#10 comment); as you can see, ajax request send back "undefined" instead of values "var1", "var2",.... (in console log, too) this is my "dirty" solution; it is ok, but only on second mouse over. the ajax script for dynamic tip content (myscript.php) actually simply is:
|
Based on your test environment I've tested this code and it is working.
Let me know if it's works for you :) PS: On your "dirty" version it works from the second hover because on the first you are calling the plugin for the first time and also you are calling the plugin for each element individually, not using the class .ajax but the element itself ( using "this" ). |
Great! |
Hello, this is my code:
it works but why the tooltip is showed only the second time the mouse is over the div element (with class = ajax)?
Sorry, I'm newbe with jquery...
Thank a lot
The text was updated successfully, but these errors were encountered: