Top "Attributes" questions

The attributes tag should be used for any issues relating to a property of an object, element, or file, etc.

Accessing dict keys like an attribute?

I find it more convenient to access dict keys as obj.foo instead of obj['foo'], so I wrote this …

python dictionary syntax attributes
Get Enum from Description attribute

Possible Duplicate: Finding an enum value by its Description Attribute I have a generic extension method which gets the Description …

c# .net attributes enums
How do you tell if a checkbox is selected in Selenium for Java?

I am using Selenium in Java to test the checking of a checkbox in a webapp. Here's the code: private …

java selenium attributes checkbox nullpointerexception
What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion?

There are three assembly version attributes. What are differences? Is it ok if I use AssemblyVersion and ignore the rest? …

.net assemblies attributes
How to loop over a Class attributes in Java?

How can I loop over a class attributes in java dynamically. For eg : public class MyClass{ private type1 att1; private …

java attributes loops
Get all attributes of an element using jQuery

I am trying to go through an element and get all the attributes of that element to output them, for …

javascript jquery attributes
Make HTML5 video poster be same size as video itself

Does anyone know how to resize the HTML5 video poster such that it fits the exact dimensions of the video …

css html attributes html5-video
Iterate over object attributes in python

I have a python object with several attributes and methods. I want to iterate over object attributes. class my_python_…

python oop attributes iteration
JavaScript: changing the value of onclick with or without jQuery

I'd like to change the value of the onclick attribute on an anchor. I want to set it to a …

javascript jquery onclick attributes
Magento Product Attribute Get Value

How to get specific product attribute value if i know product ID without loading whole product?

magento attributes product