|
Subject: Re: [xsl] Need to set hidden field using javascript function From: "Robert Koberg" <rob@xxxxxxxxxx> Date: Tue, 27 Nov 2001 19:54:08 -0800 |
what you are trying to do is:
<html>
<body>
<form>
<input type="hidden" value="rot13(Get_Cookie("us")">
</form>
</body>
</html>
There are a few problems with this and it has nothing to do with XSLT.
First get it to work in html and then create your xslt.
best,
-Rob
----- Original Message -----
From: "Pekarek, Rose (MN10)" <rose.pekarek@xxxxxxxxxxxxx>
To: <xsl-list-digest@xxxxxxxxxxxxxxxxxxxxxx>;
<xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, November 27, 2001 5:48 PM
Subject: [xsl] Need to set hidden field using javascript function
> I am trying to set the value of a hidden field using the return value of a
> javascript function.
>
> For example:
>
> <input type="hidden" name="us">
> <xsl:attribute name="value">rot13(Get_Cookie("us")</xsl:attribute>
> </input>
>
> Why doesn't this work? Would it work to set a plain variable with
> javascript instead? Any suggestions would be much appreciated.
>
> Thanks,
>
> Rose
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Need to set hidden field usin, Pekarek, Rose (MN10) | Thread | Re: [xsl] Need to set hidden field , David B. Bitton |
| Re: [xsl] Need to set hidden field , David B. Bitton | Date | [xsl] linking within a document, Adam Claridge |
| Month |