Top "Attributes" questions

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

Set attribute without value

How do I set a data attribute without adding a value in jQuery? I want this: <body data-body> …

javascript jquery attributes attr
What is initial scale, user-scalable, minimum-scale, maximum-scale attribute in meta tag?

I was going through the source code of a website and found this piece of code. <meta name="viewport" …

html attributes tags viewport meta-tags
get the value of DisplayName attribute

public class Class1 { [DisplayName("Something To Name")] public virtual string Name { get; set; } } How to get the value of DisplayName …

c# attributes
How can I disable selected attribute from select2() dropdown Jquery?

I know how to enable the selected attribute from dropdown; I can use this code : $('select').select2(); but my problem …

attributes jquery-select2 selected
Objective C - Assign, Copy, Retain

I'm new to Objective C. I have basic knowledge in C, including the concept of pointers. I have two basic …

ios objective-c macos memory-management attributes
AngularJS - Attribute directive input value change

I've got an AngularJS attribute directive, and I would like to take an action any time its parent input's value …

jquery angularjs attributes directive
Can attributes be added dynamically in C#?

Is it possible to add attributes at runtime or to change the value of an attribute at runtime?

c# .net attributes
HTML5 iFrame Seamless Attribute

in HTML5 the iframe has new attributes like 'seamless' that should remove borders and scrollbars. I've tried it but doesn't …

html iframe attributes
Python 'AttributeError: 'function' object has no attribute 'min''

Firstly, apologies for how obvious these two questions seem to be; I'm very very new to this and don't have …

python numpy attributes attributeerror
ruby on rails f.select options with custom attributes

I have a form select statement, like this: = f.select :country_id, @countries.map{ |c| [c.name, c.id] } Which …

ruby-on-rails select attributes