I have a page where I'm using tooltip that is dynamically constructed
with $AJAX calls. The static content gets tooltip initialization just
fine, but I'm having trouble with content added after initial load.
The first call to tooltip after page load:
function setFactoryTooltip()
{
Hi,
What I had to do to get that to work(doing exactly what you are
doing), was once the new content was loaded from the AJAX call,
destroy and re-drag the loaded divs...
Something like this
$ajax...
success:
..somestuff...
..load new content...
$('.classname').draggable('destroy');
I'm a relative newbie with jQuery and have read the doc about DOM
manipulation but am too dense to answer this question:
I have a series of DIVs in order by ID. I would like to insert a new
DIV into its proper place in the order...
Given the following:
div
div id=alpha/div
div id=beta/div
div
Great! Thanks...
However, I'm more clueless than I should be...and didn't pose the
complete question...
I have the divs as shown above, how do I locate where div
id=delta/div would go?
Obviously between gamma and epsilon, but I need to search the ids for
the first (id delta). Then I can use
it like:
div id=group
div id=alpha/div
div id=beta/div
div id=gamma/div
div id=epsilon/div
/div
$('div id=delta/').insertInOrder('#group');
feel free to change the naming and alter the code :]
cheers,
- ricardo
On Dec 22, 3:32 pm, Tbone 95dak...@gmail.com wrote:
Great! Thanks
(){
if ($(this).attr('id') 'delta')
$(this).before('div id=delta/');
});
I think there is no selector that will do the same, but I may be
wrong.
On Dec 22, 12:32 pm, Tbone 95dak...@gmail.com wrote:
Great
The extra comma was indeed the problem!! Thanks much Mike!!
On Nov 18, 5:01 am, Mike Alsup [EMAIL PROTECTED] wrote:
[ 1, 2, 3, ] // IE chokes on the last comma
Mike
7 matches
Mail list logo