faqts : Computers : Programming : Languages : Asp : ASP/VBScript : Language and Syntax

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

12 of 30 people (40%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

how to pass the database value from asp to javascript function.it is in the same page

Jun 4th, 2002 06:52
Luiz Paulo Rosa, deepa kumar,


Try this:
<SCRIPT LANGUAGE="JavaScript">
<!--
function myFunction('<%=recSet("myColumn")%>')
	{
	//function code
	}
//-->
</SCRIPT>



© 1999-2004 Synop Pty Ltd