We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cross-posted from #349:
May i suggest to use "template.find().value" to retrieve elements?
For example on page 123 (book version 1.6) the code can be rewritten such as:
jquery
$(e.target).find('[name=url]').val()
Meteor style
template.find('#url').value
It is the Meteor style and also ensures that a null value is returned instead of undefined.
The text was updated successfully, but these errors were encountered:
Yeah, we should do this.
Sorry, something went wrong.
Just wanted to leave a Disqus comment before I saw this. Why not don't you use e.target.url.value? Clean and simple if there's a name attribute.
No branches or pull requests
Cross-posted from #349:
May i suggest to use "template.find().value" to retrieve elements?
For example on page 123 (book version 1.6) the code can be rewritten such as:
jquery
$(e.target).find('[name=url]').val()
Meteor style
template.find('#url').value
It is the Meteor style and also ensures that a null value is returned instead of undefined.
The text was updated successfully, but these errors were encountered: