Skip to content
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

[Request] removeAttr :) #8

Closed
ghost opened this issue Jan 19, 2012 · 5 comments
Closed

[Request] removeAttr :) #8

ghost opened this issue Jan 19, 2012 · 5 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Jan 19, 2012

Hello and thank you for repairing the previous bug, I want to know if is possible to remove an attribute from an html element, because of the selected and checked attrs.

Note : I already did $$('#elemID').attr('disabled', false); but this is not working.

Thank you :)

@soyjavi
Copy link
Owner

soyjavi commented Jan 19, 2012

$$('#elemID').attr('disabled', 'false')

@ghost
Copy link
Author

ghost commented Jan 19, 2012

Hi :)
I get the same with my example and yours, my element change, but I still can't insert text in my input:

I think I need to remove that attribute, with something like removeAttr and it will be removed, and not just added another string in the value of that attr.

@ghost ghost assigned soyjavi Jan 19, 2012
@muhdazrain
Copy link

The selected attribute is a boolean attribute, and can be set in the following ways:

option selected
option selected="selected"
option selected=""

you cannot set it to false or anything. so, i think we need 'removeAttr()' function to completely remove the attribute

@soyjavi
Copy link
Owner

soyjavi commented Oct 30, 2012

ok :) I'll done :)

2012/10/30 Muhammad Azrain bin Kamaruddin notifications@github.com

The selected attribute is a boolean attribute, and can be set in the
following ways:

option selected
option selected="selected"
option selected=""

you cannot set it to false or anything. so, i think we need 'removeAttr()'
function to completely remove the attribute


Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-9894237.

@soyjavi
Copy link
Owner

soyjavi commented Jan 17, 2013

Implemented in Quo 2.3

@soyjavi soyjavi closed this as completed Jan 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants