| Author: praveenjayapal 21 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
Hi Kumar, You can use javascript regular expression for this situation
|
| Author: Kumar R 21 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
is it possible to limit in css
|
| Author: Chandru 21 Oct 2009 | Member Level: Silver | Rating:  Points: 2 |
Hi Try like this,
function split() { var string = docuent.getElementById('div').innerText; if (string.Lenght > 60) { string.slice(61,-2); }
Chandru SilverlightScripting.com
|
| Author: Venkatesh Ellur 26 Oct 2009 | Member Level: Gold | Rating:  Points: 2 |
Hi Kumar i dont think that is possible in CSS as per my knowledge. Css is used only for styling not for handling any of the functionalities on the pages. :)
THIS POSTING IS PROVIDED WITH NO WARRANTIES, BEWARE OF BUGS IN THE ABOVE CODE; I HAVE ONLY PROVED IT CORRECT AS PER MY KNOWLEDGE, NOT TRIED IT.
Regards -------------------------- Venkatesh Ellur +919886417764 venkatesh.ellur@gmail.com
|