Find ID of elements #553

Open
a-tz opened this Issue Oct 20, 2016 · 2 comments

Projects

None yet

3 participants

@a-tz
a-tz commented Oct 20, 2016

Can you implement an attribut in order to set an ID on each element of the Bootbox please ?

@tiesont tiesont added the Request label Oct 20, 2016
@tiesont
Collaborator
tiesont commented Oct 20, 2016 edited

Not likely. What is your use case? You can access any of the Bootstrap or Bootbox elements using find() on an instance of a dialog. For example:

bootbox.alert('Message here')
    .find('.modal-body')
    .css({ backgroundColor: 'blue' });
@tarlepp
Collaborator
tarlepp commented Oct 20, 2016 edited

Bootstrap itself doesn't provide ID's so not should bootbox.

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