Closed sjramsey closed 9 years ago
Hey @sjramsey , please check the documentation http://eragonj.github.io/Trip.js/doc-configuration.html#sel , all you need is to pass that selector in string.
Perfect - thanks @EragonJ. Loving this plugin!
I am glad you like it ! And by the way, we are working on related feature that developers can wait until some works are done before going to next step, with this feature, you can make sure your element will be there maybe after an ajax call for example.
When I run the following code - I can't use the dynamically inserted
<h2 id="subheader">
as a reference for a step. It returns aYour tripData is not valid at index: 1
error. Is there a way to dynamically add references?Code
Here's the html (body only):
Here's the js: