Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find input is nil ~~~ #44

Closed
zhfish opened this issue Aug 8, 2014 · 1 comment
Closed

find input is nil ~~~ #44

zhfish opened this issue Aug 8, 2014 · 1 comment

Comments

@zhfish
Copy link

zhfish commented Aug 8, 2014

uri = "http://www.google.com"
doc, e := goquery.NewDocument(uri)
if e != nil {
    beego.Error(e)
}
form := doc.Find("input").Each(func(j int, input *goquery.Selection) {
        println(input.Html())
    })

the input is nil~~, help~~~

@zhfish
Copy link
Author

zhfish commented Aug 8, 2014

i know

println(input.Get(0))

@zhfish zhfish closed this as completed Aug 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant