html - How to add line breaks to bootstrap modal -
I'm trying and failed to add line breaks in a dry bootstrap model.
My hyperlink template code that shows the message that the model show code:
To delete the record, add it to the button:
& lt; a href = "url" delete-confirm = "Your message is here !! gt; & Lt; Span class = 'confirm_delete_warning_red_bold' & gt; You can also add CSS to specific text - are you sure? & Lt; / Span & gt; Change the text to "HTML" in & quot; Delete & lt; / a & gt;
and in your jquery code. The text will render the text and the html will act as html and The span will display line breaks and CSS in the tag.
$ ('# deleteConfirmModal'). ('Modal-body') .html ($ (this) .attr ('Deletion Confirmation Please check your usage of 'and' (single and double talk points), do not mix them.
This will work for your code. >
Comments
Post a Comment