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

method attr("id","value") does not work #81

Closed
abudaan opened this Issue Jul 28, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@abudaan

abudaan commented Jul 28, 2011

If you create an svg object an query the created object, it is not possible to use the attr("id","value") method of that object.

code:

<circle id="circle" cx="200" cy="200" r="10" fill="red" opacity="1" stroke="black" stroke-width="1">

var c = ample.query("circle");

c.attr("fill","green");

This does not work in any browser

@ilinsky

This comment has been minimized.

Show comment
Hide comment
@ilinsky

ilinsky Aug 2, 2011

Member

Fixed in rev 7eb1cd7

Member

ilinsky commented Aug 2, 2011

Fixed in rev 7eb1cd7

@ilinsky ilinsky closed this Aug 2, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment