Page id selector stitching variables dynamically created

Background: The dynamic page creation contains a lot of js function, which js function in the id selector id variable, are not familiar with splicing, testing for a moment. Record it:
Here Insert Picture Description
Here Insert Picture Description
Summary: The original '' need to escape \ '\', variable written as '+ x +'.

Published 15 original articles · won praise 0 · Views 297

Guess you like

Origin blog.csdn.net/sinat_15051577/article/details/105288929