S
S
Sergey750il2015-08-01 23:40:06
JavaScript
Sergey750il, 2015-08-01 23:40:06

How to add id to path in Raphael?

Hello. How to add id to path tag whose value is taken from name in path.js file? Now the path tag is displayed only with fill and stroke attributes.24306be4e44b411cbd2d7f22ddb6c58b.JPG

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pashchuk Ilya, 2015-08-02
@IlyaDeveloper

$(element).attr('id', 'idname');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question