OK so you can view the page update_all_student_browse.cfm?year=-2 in your browser and you get an error? That means your JS is OK.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:bounce-cfaussie- > [EMAIL PROTECTED] On Behalf Of Ben Yee > Sent: Friday, 7 November 2003 11:41 a.m. > To: CFAussie Mailing List > Subject: [cfaussie] RE: weird javascript behaviour > > mat, > > Yeah I've tried that and the same thing happens. > > > -----Original Message----- > From: Matthew Walker [mailto:[EMAIL PROTECTED] > Sent: Friday, 7 November 2003 9:38 AM > To: CFAussie Mailing List > Subject: [cfaussie] RE: weird javascript behaviour > > > Are you sure the problem is here? Looks OK to me. What happens if you view > update_all_student_browse.cfm?year=-2 ? > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:bounce-cfaussie- > > [EMAIL PROTECTED] On Behalf Of Ben Yee > > Sent: Friday, 7 November 2003 11:30 a.m. > > To: CFAussie Mailing List > > Subject: [cfaussie] weird javascript behaviour > > > > Hey All, > > > > I've got this line of javascript > > > > var year = 05; > > document.all.menuloader.src = > "update_all_student_browse.cfm?year="+year; > > > > which works fine when the year is a positive number, however when the > year > > becomes a negative (eg year = -2) I get a syntax error. > > > > I've tried URL Encoding it but it still does not work. > > > > any suggestions thanks > > ben > > > > --- > > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to leave-cfaussie- > > [EMAIL PROTECTED] > > > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > > http://www.mxdu.com/ + 24-25 February, 2004 > > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to leave-cfaussie- > [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to leave-cfaussie- > [EMAIL PROTECTED] > > MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia > http://www.mxdu.com/ + 24-25 February, 2004 --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia http://www.mxdu.com/ + 24-25 February, 2004
