A

Admin • 833K Points
Coach

Q. How many arguments does the getInputHtml() accept?

  • (A) 1
  • (B) 2
  • (C) 3
  • (D) 4
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

The method getInputHtml(0 accepts two arguments: $name and $value. $name is the name you should assign your HTML input’s name= attribute, and $value is the field’s current value (either from the DB, or the POST data if there was a validation error).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.