Using JavaScript in

Results 1 to 2 of 2

Thread: Using JavaScript in

  1. #1
    Join Date
    Dec 1969

    Default Using JavaScript in

    How can I use JavaScript in an ASP.Net Page which has <BR>&#060;%# Language ="VB"&#062; at the start of the code ? <BR><BR>Can I use the controls declared in my Form?<BR>Also can I use functions like FindControl inside the Javascript?<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default I'll just hazard a guess

    Not sure what you want to do here. If you want to put JS into your page you just put it in. Which seems too easy a questions so what your probally asking is how you can call JS from a webcontrol. To do that you have to use the addAttribute command like so:<BR><BR>myButtonControl.addAttribute("onClick", "myJSFunction")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts