Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Using AJAX, create a test project to show read more button if the text is more than 60/1000 characters in length. And on click of read more it should show complete text

[edit]Tags only[/edit]
Posted
Updated 7-Nov-10 22:55pm
v2

1 solution

There is a "Read More text Abbereviater" jQuery plugin, you can use that.

http://plugins.jquery.com/project/readmore[^]

You can find the demo here

http://rockycode.com/blog/upload/jtsnake/demo-readmore.html[^]
 
Share this answer
 
v3
Comments
Lipsa M Mishra 8-Nov-10 5:27am    
HI.. what yhe link u hav provided, its not working...
can u show me a demo for this question..
PSK_ 8-Nov-10 5:35am    
I have fixed the broken links, can you please check now.
Ankur\m/ 8-Nov-10 5:36am    
That's why!
I tried improving the answer but the link was fine. It was already fixed. :)
PSK_ 8-Nov-10 5:40am    
I think there is some issue with the CP editor it changes the html to htm extension when you paste a link.
Lipsa M Mishra 8-Nov-10 5:58am    
Yes.. The first link is opening, but the second link throwing Unhandled Exception..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900