Jump to content
Software FX Community

javascript and netscape


User (Legacy)

Recommended Posts

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

  • 7 months later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...