Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's more fun doing this, since jQuery is already on the page:

    import js
    jq = js.eval("$")
    first_line = jq(jq(".container p")[0])
    first_line.text("jQuery was here")


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: