Sorry for not making myself clearer. The style classes are no persisting, I
need the exact quote of the html, i.e. the clone without class="" because
I'm going on to do further data processing with the page later and I need to
have the original html code perfectly intact. Hope that makes more sens
On Sat, Nov 28, 2009 at 2:11 PM, coldwired wrote:
>
> The reason is because I need the exact clone of the highlighted tags before
> the selected class is supplied to it.
Sorry, that doesn't answer my question. In what way is having an
element with an attribute class="" causing you trouble? Are so
The reason is because I need the exact clone of the highlighted tags before
the selected class is supplied to it... removeAttr sounds okay but its a
problem if it removes other classes that might have been there before hand.
Difficult situation...
Cheers,
Col.
brian ally-3 wrote:
>
> I suppose
I suppose you could use removeAttr('class'). But I wonder why this is
a problem, in any case. Why is the class="" giving you problems?
On Sat, Nov 28, 2009 at 8:13 AM, coldwired wrote:
>
> Hi,
>
> The tag is removed but a remendant of it remains, class="". is there
> anything I can do to make the
Hi,
The tag is removed but a remendant of it remains, class="". is there
anything I can do to make the removeClass function restore the attribute to
it's original state?
Thanks,
Colin.
brian ally-3 wrote:
>
> Perhaps it's a problem with your CSS rules. Is the style not removed?
>
> On Fri, N
Perhaps it's a problem with your CSS rules. Is the style not removed?
On Fri, Nov 27, 2009 at 4:39 AM, coldwired wrote:
>
> Hi,
>
> Sorry, that was a slight typo on my part, it should be class "selected". The
> problem I have with just appending using addClass is that when the class is
> removed
Hi,
Sorry, that was a slight typo on my part, it should be class "selected". The
problem I have with just appending using addClass is that when the class is
removed it doesn't restore the element to it original state a such.
What I mean is when the class is removed it leaves class="" rather tha
You have 2 separate classnames there--'selected' and 'insense-selected'.
Anyway, why don't you just add the class to the hovered element and
save yourself some trouble? Because wrapping a strong or dd element
with a div is certainly asking for a lot of trouble.
On Thu, Nov 26, 2009 at 3:50 PM, co
Hi,
I'm trying to append an div element around the element that triggers the on
hover event, then remove the div on mouse out (blur). I normally would use
addClass / removeClass but this leaves class="" when the class is removed
and not the original state of the html. Here's my code, I can't work
9 matches
Mail list logo