Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] INPUT TEXT show last characters


  • From: tedd at sperling.com (tedd)
  • Subject: [Javascript] INPUT TEXT show last characters
  • Date: Wed Jan 31 09:24:56 2007

At 5:54 PM -0300 1/30/07, Nico Ferretti wrote:
>Hi!
>
>I have a page with a lot of INPUT TEXT elements, already filled with 
>URL's (so they have long strings within them).
>
>The problem is that I want to show the end of the string, not the 
>beginning when the page loads.
>
>For example:
>
>----------------------
>|https://lists.lat|   
>----------------------
>
>(the end would be 
><http://ech.edu//pipermail/javascript/2007-January/thread.html>ech.edu//pipermail/javascript/2007-January/thread.html 
>)
>
>I want to show
>
>----------------------
>|ry/thread.html|   
>----------------------
>
>Thanks in advance,
>
>Nico.-

Nico:

I have not done this, so it may not work. However, if I had this 
problem, I would try using css and assign an attribute to the text 
box of right justification.

hth's

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com