469,641 Members | 1,171 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,641 developers. It's quick & easy.

dojo: make a table row into a link

129 100+
Hai friends,
If anyone knows dojo please suggest me, that is there any widget or shortcut to make a table row as a link ,
I used <tr onclick="alert('clicked')"> it is working but the cursor will appearing as text cursor not as link cursor(hand symbol), if i want to do so i have to use anchor tag in html but it is not works for a row.
So, give me a suggestion that technique will be successful in dojo with an example if possible.
Jan 19 '08 #1
4 1966
sasimca007
129 100+
Hai friends,
How to make a table row as a link.
I used <tr onclick="alert('clicked')"> it is working but the cursor will appearing as text cursor not as link cursor(hand symbol), if i want to do so i have to use anchor tag in html but it is not works for a row.
So, give me a suggestion that technique will be successful with an example if possible.
Jan 19 '08 #2
drhowarddrfine
7,435 Expert 4TB
This is not possible. <a> is an inline element and cannot be applied to a block level one. Besides, it's a 'sub-element' of <table>.
Jan 19 '08 #3
gits
5,390 Expert Mod 4TB
try to set a style for your row:

[HTML]<tr style="cursor: pointer;">[/HTML]
kind regards
Jan 19 '08 #4
gits
5,390 Expert Mod 4TB
hi ...

may be the following could be a workaround:

[HTML]<tr onclick="alert('clicked');" style="cursor: pointer;">[/HTML]
kind regards
Jan 20 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.