Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
HTML Pages with CSS and JavaScript
String display with "view more" option
Krishna Chaitanya Reddy Balam
Greenhorn
Posts: 22
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
What is the best way to display only fixed number of characters in a
java
string
and have a "view more" button to display everything.
Please forward some links of help.
Bear Bibeault
Sheriff
Posts: 67756
173
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Not with
JSP
.
Moved to the HTML/JavaScript forum.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Bear Bibeault
Sheriff
Posts: 67756
173
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hide the conditional part of the string using CSS, then, upon the click of a button or link (or whatever), changes the CSS to show the hidden text.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
struts bean:write tag with format key
storing dynamic row value to database
Displaying only part of data in JSP Page
Question about how to convert a boolean to a String
Cookies in Android Apps
More...