-
Notifications
You must be signed in to change notification settings - Fork 480
Update page/using-jquery-core/attributes.md #249
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
Conversation
No. |
propertributes |
That is true and we all know it -_- |
Taken from official documentation (http://api.jquery.com/attr/): is it likely that the regular beginner programmer wants to mess up with the original attributes? |
With 1.9/2.0, we can finally say that |
Still.. we are currently at 1.9 and you should take more into account the present and the future; not the past. |
The ideal outcome here is to actually explain this stuff in the article, or have an article on this - @timmywil perhaps we could start from your blog post on this from a year or so ago. The point of the learn site is to give people A LOT of context, not just decide "we should have an article only on attributes or properties" |
Well... I tried going in that direction... that but this issue was immediately closed... |
@isoares, Yes, I closed it and I'm not re-opening it. I'm not sure what you're missing here: |
@rwldrn: simply closing before the discussion ends does not promotes discussion.
The thing here is: people want to manipulate properties/attributes of the DOM nodes; they are still a bit confused about the difference... what do you think is the ideal option? |
Your changes are incorrect, that's why I closed it.
That's the solution, but that's not this PR. The correct way to do this is to file an issue first, to have the discussion and come to an agreed solution. |
ok :) |
If that's the solution... why not use this page and transform it? Why have this page after all if you could simply tell the whole story in a "Properties" page? |
@lsoares we can make that assessment once there is a "Properties" page to discuss :) - the need to read and set attributes is never going to just "go away" - I think there will still need to be a low-level page just explaining the concept of actually getting/setting attributes at all. I think @timmywil's presentation (http://timmywil.github.com/pres/attributes/#landing) is a good jumping off point for a more thorough didactic discussion |
@lsoares in case it's not clear, we'd like you to draft the "properties" page—but let's do it in a fresh PR. Also, are familiar with using git locally? |
@ajpiano I never said attributes should disappear. I'm only arguing they should not have the spotlight they have. Nope.. I'm not familiar with local Git but I'll try to be soon. |
prop is supposed to be used most of the times