Hi there,
I am a newbie at using jquery and now I stumbled upon a problem. With
Jquery I want to replace each with a opening tag or a closing tag. This way I would like to place a large page of
content in different divs.
Now I have this code :
var counter = 0;
for(var i = 0; i < $('hr').size
query.com).
> if(2): jQuery.Rule could be the
> solutionhttp://flesler.blogspot.com/2007/11/jqueryrule.html
>
> --
> Ariel Fleslerhttp://flesler.blogspot.com/
>
> On 18 jul, 19:13, Evert <[EMAIL PROTECTED]> wrote:
>
> > Is it possible to create css class on run-time with jquery/javascript?
> > if yes, how?
Is it possible to create css class on run-time with jquery/javascript?
if yes, how?
Thanks!
I had fixed my code and your answer inspired me to map the elements
with the class into an array.
My script become more responsive now.
On Jul 8, 8:31 pm, "Joel Birch" <[EMAIL PROTECTED]> wrote:
> Hi Evert,
>
> '.someclass' is a slow selector as it has
CTED]> wrote:
> Can you give a sample page? I'm confused about what you mean by "only
> 2 elements to remove".
>
> On Jul 2, 9:51 am, Evert <[EMAIL PROTECTED]> wrote:
>
> > //only 2 elements to remove
> > $("#id").removeClass('onesim
//only 2 elements to remove
$("#id").removeClass('onesimpleclassonly');
It took almost 3 ~ 4 seconds to remove the class.
What can I do to speed up the process?
I'm trying to generate a new css class with Jquery which is not
defined in .css or html
7 matches
Mail list logo