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

AJAX ability to pull in specific HTML Element in ajaxContentUrl #55

Open
wadeo opened this issue Sep 23, 2016 · 0 comments
Open

AJAX ability to pull in specific HTML Element in ajaxContentUrl #55

wadeo opened this issue Sep 23, 2016 · 0 comments

Comments

@wadeo
Copy link

wadeo commented Sep 23, 2016

I would like to see the ability to pull in element rather than everything specified within ajaxContentUrl. I originally thought that "contentElementId" would provide this functionality but I was mistaken.

Example:
JS -
jQuery('#Tip2').tipso({
background: 'tomato',
ajaxContentUrl : '/ajax.php',
content: '#2'
});

Ajaxpage (ajax.php)

content from in div 1
content from in div 2

Rendered
(Desired retreved HTML)
content from in div 2

(Actual retreved HTML)
content from in div 1
content from in div 2

What can be done so the script just pulls in content from just the #2 element on ajax.php

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

No branches or pull requests

1 participant