Monday 12 May 2008 12:23:36 pm
Hi! Assume the following piece of code (I have truncated the original code), what I would like to do is to add to the EZ variable $mynodo the value of the JS variable nodeID. How can this be done? take into consideration that If I use something like: $mynodo={literal}nodeID{/literal} It will not work, instead it will print out the text "nodeID" within the JS code. I have read in the forum several forum discussions about asigning an Ez variable to a javascript (using LITERAL), but this is the opposite, a JS variable to an EZ variable....
{literal}
<script language="JavaScript" type="text/javascript">
function MyOnNodeOpen (nodeID, state)
{
{/literal}
{def $my_node = array()
$mynodo=XXXXXX
}
{literal}
}
</script>
</literal>
thanks
Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com
|