Skip to content

Tag: ajax

Append a link when text overflowing parent

I’m using Ajax to get comments. Comment text is treated as max-height:90px by default. When importing comments, I want to attach a link if the text length is longer than the parent element. The code below doesn’t work well. It works imperfectly. All comments have a link or only the first one. Is t…

Jquery script not working after ajax call

I have a problem, This Jquery Script not working after I did an ajax call and replaced the old content, you can see in the scripts the “slideToggle()” Not working but other orders like add and remove class’s working well? how I can fix this? Answer