----- Original Message -----
From: "G.Taylor" <gtaylor@O...>
To: "javascript" <javascript@p...>
Sent: Monday, May 21, 2001 11:44 AM
Subject: [javascript] Java script and XSLT
> Hi,
>
> I've got a bit of a problem and wondering if you guys may be able to help.
>
> I'm doing an XSLT conversion, but when I try and run my js stuff in it it
> whines: "options is not an object"
>
> Here is the source:
>
Sorry, the origional was incorrect...here is the revised bit of my code....
> function PassThru
>
lectObject){
> if (selSelectObject.options[selSelectObject.selectedIndex].value != "")
> {
> location.href=selSelectObject.options[selSelectObject.selectedIndex].value)
> }
> }
>
>
> is the subroutine, and then below is within the xsl match
>
> <TD HEIGHT="40" nowrap="nowrap" WIDTH="300"><FONT SIZE="1">
> <SELECT NAME="selDate" onChange="{js:PassThru(this)}" cols="20" id="selDate" >
> <option value="January" target="self" selected="selected">January</option>
> <option value="February" target="self">February</option>
> </SELECT>
> </FONT></TD>
>
>
> Any help would be greatly appreciated
>
> TIA
> --
> Guy Taylor
> Software Engineer
> OrbitalM.......www.orbitalm.com
> 083 357 34 38
> --
> "Do you believe in God?"
> "Well SOMEONES's out to get me"
> -- Calvin and Hobbes
> --
>
>
>
>
>
>