Skip to content

表单验证异步请求问题 #51

Description

@renhao

有这样一个验证码验证需求:

<input type="text" data-url="https://api.github.com/legacy/user/search/china" data-method="get" data-key="code" required>

返回值为josn:

{
      status : 'ok'     //ro  'no'
}

如果status为ok时,想请求一个回调函数。这个操作怎么写?貌似该方法没有回调函数?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions