Anitha,
You can't access it directly, but you can indirectly.
What you could do is create an xforms:output control with the value of
that variable, hide the control with CSS, and use the JavaScript API
to get the value of the output field.
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-javascript-integration#TOC-Getting-and-Setting-Controls-Value--Erik
On Fri, Aug 12, 2011 at 7:25 AM, Anitha Hullehalli
<
[hidden email]> wrote:
> How to access xforms variable in Javascript?
>
> for e.g
> <xxforms:variable name="formId" select=""/>
>
>
> <xxforms:script>
> formId value?
> </xxforms:script>
>
>
>
>
>
> Thanks,
> Anitha
> Application Developer
> Cincinnati Children's Hospital Medical Center
> Phone:(513) 803-1945
>
>
> --
> You receive this message as a subscriber of the
[hidden email] mailing
> list.
> To unsubscribe: mailto:
[hidden email]
> For general help: mailto:
[hidden email]?subject=help
> OW2 mailing lists service home page:
http://www.ow2.org/wws>
>
--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws