Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Moving Javascript from HTML to ASP?

Status
Not open for further replies.

Dollie

MIS
May 2, 2000
765
US
We're in the process of trying to combine a page designed for us in HTML with a page we've created using ASP. We want to put the functionality of the HTML page (mouseover commands, etc) on the ASP page, but the script keeps bombing with run time errors.

The sample HTML file can be found at The ASP page can be found at
Any help is greatly, greatly appreciated!

Dollie



Approaching the glass ceiling with a sledge hammer....
 
Hi Dollie,

In your ASP page, if you go to view source code you can see all the JavaScript functions are missing, that's why you getting the run time errors. Double-check your ASP code, or you should avoid putting Javascript functions inside your <% ... %> what i mean is something like this..

<% .... your ASP codes.... %>
<script>
// Your JavaScript functions
</script>
<% .... your ASP codes ... %>

hope this helps,
Chiu Chan
cchan@gefmus.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top