Display HTML with javascript event using ASP 
Author Message
 Display HTML with javascript event using ASP

I am using asp to display an HTML file like this:

<%
Function DisplayFile()

   strTable = strTable & "<Table><tr>"
   strTable = strTable & "<input type=text>"
   strTable = strTable & "<input onMouseUp=....

End Function
%>

The problem is the "onMouseUp" event does not take place as it is not detected as javascript in that format..eventhough i put the appropriate javascript on top of the asp file or include the javascript file, it just won''t work.
Please help out on how to solve it.
Thank you in advance.

-----------------------------
This message is posted by http://www.*-*-*.com/



Mon, 15 Nov 2004 10:12:18 GMT  
 Display HTML with javascript event using ASP
<input OnMouseUp="JavaScript:ajavascripteventhandlerhere();">

Mythran



Mon, 15 Nov 2004 13:17:13 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO VBScript, SAP - ABAP

2. Displaying arbitrary HTML code from Javascript

3. advanced search using ASP and Javascript

4. using javascript in asp for dynamic data retrieval

5. Changing ASP session variables using javascript procedure

6. Using Javascript to update ASP session object

7. Database Records to be Displayed in Multiple ASP/HTML Pages

8. Display HTML before an ASP is fully rendered?

9. Event sink using VBScript in HTML page

 

 
Powered by phpBB® Forum Software