List Info

Thread: want to select the td text on single click




want to select the td text on single click
user name
2007-11-05 23:27:27
hello all,
                below is the example what i want to do on
single
click---i want to select the td text but the select() method
we can
use only for text field or textarea for td want method
should us...

i m waiting for ur reply..

thanx and regards
Abhimanyu Singh



<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft
Visual Studio 6.0">
<TITLE></TITLE>
<script>
function SelTdText(){
//here i have to put the code which select the td text on
single click
//want some help for that

}

</script>
</HEAD>
<BODY>

<table border="1" colspan="0"
cellpadding="0" >
<tr>
<td onclick=SelTdText()>abhianyu Singh</td>
</tr>
</table>
</BODY>
</HTML>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "JavaScript Forum" group.
To post to this group, send email to
JavaScript-Informationgooglegroups.com
To unsubscribe from this group, send email to
JavaScript-Information-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/JavaScript-Information
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )