Unfortunately that does not work always. it throw error sometimes :(
Even if it does, that does not solve the problem. sometimes is use
other javascripts that don't use jquery, when they change html
content , jquery does not update itself.
How can i ask jquery to do what it does automatically on document
load. how can i call that method again?
On Oct 13, 11:01 am, "Diego A." <[EMAIL PROTECTED]> wrote:
> Why are you using $('#id').attr('innerHTML',...); instead
> of $('#id').html(...);???
>
> 2008/10/12 Sina Salek <[EMAIL PROTECTED]>
>
>
>
>
>
> > Hi everyone,
> > When i use innerHtml, either with $('#id').attr('innerHTML'... or
> > getElementById('id').innerHTML , jquery can no longer
> > find the elements imported via innerHTML.
> > First i search the web, but couldn't any thing related to this issue.
> > The first things came into my mind was, jquery needs to traverse new
> > elements again.
> > I checked the source code and found this f.apply( document ); and
> > tried using it in serveral ways
> > but couldn't get it to work.
>
> > I'm totaly out of idea(s) :( and really apperciate any help. tx
>
> > I'm using 1.2.6
>
> --
> Cheers,
> Diego A.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---