User (Legacy) Posted April 11, 2001 Report Share Posted April 11, 2001 Bear with me, I just started using ChartFX this week. (this code is in an asp page) I get an error on this script in netscape: <script language="javascript" FOR="oVolChart"> function toggleSeries(iSeries,element){ oVolChart.series(iSeries).Visible=element.checked; } </script> It doesn't like oVolChart. Works fine in IE of course. Here is some related code that calls the javascript. basically, they can select which series to show or hide. <input type="checkbox" name="Volume" CHECKED onclick="toggleSeries(<%=iVOL_INDEX%>,this)"> <%=oVolChart.GetHtmlTag(700,432,"Auto","oVolChart")%> anyone have a guess? Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 29, 2001 Author Report Share Posted November 29, 2001 Use document.oVolChart.series(iSeries).Visible=element.checked Netscape hates it when you don't refer to document first "Bill Lanza" <BillL@AurionTech.com> wrote in message news:v#eNK2yr8GA.1696@webserver1.softwarefx.com... > Bear with me, I just started using ChartFX this week. > (this code is in an asp page) > > I get an error on this script in netscape: > > <script language="javascript" FOR="oVolChart"> > function toggleSeries(iSeries,element){ > oVolChart.series(iSeries).Visible=element.checked; > } > </script> > > It doesn't like oVolChart. Works fine in IE of course. Here is some related > code that calls the javascript. basically, they can select which series to > show or hide. > > <input type="checkbox" name="Volume" CHECKED > onclick="toggleSeries(<%=iVOL_INDEX%>,this)"> > <%=oVolChart.GetHtmlTag(700,432,"Auto","oVolChart")%> > > anyone have a guess? > > > > > > Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.