Skip to content

Can't use $(this) in each #76

@IFEIFEI

Description

@IFEIFEI

If I use jquery like this

dom=$(doc) //doc is a string of html code 
dom.find(selector).children("input").each(e=>{
  console.log($(this).text());
});

In this code segement,I can't use this to get the proper text of the input element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions