if statement after innerhtml?

  • (2 Pages)
  • +
  • 1
  • 2

16 Replies - 2861 Views - Last Post: 05 December 2012 - 02:54 PM

#16 woodsmc  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 15
  • Joined: 04-October 12

Re: if statement after innerhtml?

Posted 05 December 2012 - 09:26 AM

How can grade as a variable hold an if statement?
I need something like if <60 grade=F else if grade <70 D ect I know I could probally do it another way but I need to in this instance do it using if statements.
Was This Post Helpful? 0
  • +
  • -

#17 Dormilich  Icon User is offline

  • 痛覚残留
  • member icon

Reputation: 3490
  • View blog
  • Posts: 10,058
  • Joined: 08-June 10

Re: if statement after innerhtml?

Posted 05 December 2012 - 02:54 PM

I donít see the problem, make if() statements and assign the variable grade appropriately.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2