|
Subject: Re: [xsl] javascript hyperlink ? From: Andrew Franz <afranz0@xxxxxxxxxxxxxxxx> Date: Fri, 29 Sep 2006 00:55:54 +1000 |
...
<xsl:param name="param" />
...
<a href ="javascript:jsFunction('{$param}')">Call to javascript</a><xsl:template match="tag">
<a href ="javascript:jsFunction('{.}')">Call to javascript</a>
</xsl:template>I'm trying create a hyperlink to a javascript function that passes a parameter that is stored in the xml. I'm lost on how to accomplish this:
what the html should look like: <a href ="javascript:void(0)" onclick="jsFunction('parameter')"> Call to javascript</a>
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] javascript hyperlink ?, Emmanouil Batsis | Thread | Re: [xsl] Opera's JavaScript API fo, Frans Englich |
| Re: [xsl] javascript hyperlink ?, Wendell Piez | Date | [xsl] move tag up to level, alex v. |
| Month |