-
Notifications
You must be signed in to change notification settings - Fork 109
Frequently asked questions
EragonJ edited this page Jun 23, 2014
·
1 revision
You may get this error if your tripData is not valid and here comes the rules (May get changed):
- no
content
field - no
sel
field - with
sel
field, and its type is jQuery Object but can't match any existent element in DOM tree - But if your tripData has some
specialDirections
, then you will automatically pass above rules. (Because you may just want to put some String on the top-right screen withoutsel
field)
And also, if you want to select an element which is not existent in the DOM tree when initializing Trip.js, you can put the selector (in String
type which jQuery Sizzle can recognize) points to that element, and when the we are at that step, Trip.js will use that selector to match the element.