Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9075253
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:49:33+00:00 2026-06-16T18:49:33+00:00

I have a strange question ! I made a simple create/delete notes form and

  • 0

I have a strange question !
I made a simple create/delete notes form and a script to query them all.But it will not be beautiful if someone inserts a 100KM note and the table shows it all.

I please you to suggest me a script that shows only some content of the row, and the rest when you press something like “view all”.
For example :

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:49:34+00:00Added an answer on June 16, 2026 at 6:49 pm

    You need to look into truncating the content string, there’s a load of answers available here for both JavaScript and PHP based solutions:

    JavaScript: smart way to shorten long strings with javascript
    PHP: Shorten string with a "…" body

    So you show the truncated string to begin with and then on the full view use the original string.

    Depending on how your table in the example is setup you could also try using CSS to truncate and have it add the elipses as well.

    CSS: http://css-tricks.com/snippets/css/truncate-string-with-ellipsis/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know it's a simple question, but I have strange behaviour in here. <pre>
So I have a strange question. I have written a script that re-formats data
Strange, but I can't find a duplicate for this question. I have a superclass
I realise this is a strange question perhaps, but if say I have a
I have a strange question about session management. I implemented a form chain and
Hi I have a strange question about java. I will leave out the background
but of strange question here, but i have an existing windows product developed with
I know this may seem like a strange question, but say I have two
This is kind of a strange question, but I need to create artificial lag
I have probem / strange question, i got algorithm with few for loops and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.