Click here to Skip to main content
15,886,664 members
Articles / Bootstrap
Tip/Trick

Bootstrap Carousel HTML Edit

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
12 Sep 2015CPOL 7.2K   1  
Edit a bootstrap carousel in developer tools

Introduction

This tip shows how to easily edit the HTML contents of bootstrap carousel.

Background

During development, we face a problem of editing the contents of carousel, but the issue is that it keeps changing and we have to wait for the same image / content to view the changes.

Using the Code

A very easy solution to this is to open the developer tools F12, select the console and write the following line:

JavaScript
$('#myCarousel').carousel('pause');

You can view the effect at this link.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Freelancer
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --