using asp in javascript

Results 1 to 2 of 2

Thread: using asp in javascript

  1. #1
    Join Date
    Dec 1969

    Default using asp in javascript

    Java script supports asp tags inside. When will it be useful?

  2. #2
    Join Date
    Dec 1969

    Default RE: using asp in javascript

    I have used this for a few useful things - mainly DHTML. The only pain with this is that if you are using Visual InterDev the ASP code is not distinguished from the script code and can be very hard to read.<BR><BR>Example - I have a page which uses DHTML, and when you click on a checkbox in a menu a submenu appears below. I used javascript to toggle whether the submenu appears. The submenu contained repetitive items and was built using a database, so I built a subroutine to create the HTML for the submenu. Because the javascript function was responsible for displaying the submenu I put the ASP sub routine inside the javascript tags.<BR><BR>

Posting Permissions

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