onClick, Questions??

I have some check boxes with lables like

'checkBox" _________

I want to be able to check that check box with click on that label anywhere, you know like onMouseOver event i am not sure how that works here is what i got so far...I am using ColdFusion but i believe this problem is java related i think, any help would be appreciated..

<tr>
<tr onMouseOver="checkbox"</tr>


<cfoutput><td><input type="checkbox" name="cpt#res.code#"></td><td><font

size=2>#res.code#</font></td> <td>&nbsp;</td> <td><nobr><font size=1>#res.short_description#</font></nobr></td></cfoutput>
</tr>




Answer this question

onClick, Questions??

  • Ken Sykora

    I am confused why was this answer marked correct when all there is, is more questions...Well its a web app and i am developing in J#, with some extension in coldfusion....Is this not the right forumn, if so please let me know so i dont waste any more time, thanks

  • relyon

    Hi,

    Just to get deeper into your scenario...

    1. Are you developing in J# or Java Are you running your app on top of .net framework

    2. Is this a winform app or Web app

    3. Why ColdFusion Why not Visual Studio :).

    Thanks.



  • Naveed_Shoaib

    Wow 308 views and not even a clue to what i am talking about, could some one tell me if i need to elaborate more on what i am asking

  • Brice PRUNIER

    Hi,

    What I understand about your scenario is ...

    "You have a webpage and a checkbox on it. You want to chcek/uncheck that checkbox by clicking on the label which shows checkbox name. Something similar to what one can do in desktop (non-web) applications."

    I am not aware of any trick of getting it done. First of all there is no On_Click() event available for Lables. Secondly, the webforms controls are not windows so i am not sure if mouse events are supported for them.

    I would suggest you to rather post it on one of the appropriate forums at http://forums.asp.net/ because your scenario is not specific to J#. These forums are the best place to get answers on webforms related queries.

    Thanks



  • Adriaan Canter

    Now it makes sense why i was not recieving an answer this is not the correct forumn...I was wondering why it was so many hits but no answer, thanks

    Why do they always check the answer right when its not the answer



  • onClick, Questions??