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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I pass a DOM object to Javascript function

Status
Not open for further replies.

R3D3

Programmer
May 1, 2002
34
FR

I've tried just about every syntax I can think of but with no success.

Response.write(objxml.xml) <<<< No problem
onclick='javascript: passfare(&quot;<%objxml%>&quot;)'

<script language=&quot;javascript&quot;>
function fillfare(objxml)
{
alert(objxml); <<<<<<< empty
}
</Script>


Any help at all would be much appreciated. Thanks
 
Ummm… you can’t pass memory or an object from the server to the browser [lol] The only thing that is transmitted from the sever (ASP pages) to the browser is TEXT.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top