Home  >  Q&A  >  body text

javascript - After editing the js page, I want to perform some operations on the data traversed from the database. For example, if the gender is male, the font will turn red.

After editing the js page, I want to perform some judgment operations on the data traversed from the database. For example, if the gender is male, the font will turn red. Move the mouse over the name to see his profile. Note: The profile exists in the database. .

大家讲道理大家讲道理2732 days ago470

reply all(2)I'll reply

  • 曾经蜡笔没有小新

    曾经蜡笔没有小新2017-05-19 10:31:23

    Add a flag to distinguish men and women in the database, and add a red letter style according to the flag.

    reply
    0
  • 習慣沉默

    習慣沉默2017-05-19 10:31:23

    When generating a table on the js page, add a certain class to specific data, and use the class to bind hover and other operations

    reply
    0
  • Cancelreply