Create Bold Text Using JavaScript

Anjana
Updated on 15-Jun-2020 06:48:12

18K+ Views

To create a bold text using JavaScript, use the bold() text. This method causes a string to be displayed as bold as if it were in a tag.ExampleYou can try to run the following code to create a bold text with JavaScript −Live Demo           JavaScript String bold() Method                        var str = new String("Demo Text");          document.write(str.bold());          alert(str.bold());          

Difference Between substr and substring in JavaScript

Alankritha Ammu
Updated on 15-Jun-2020 06:46:04

437 Views

The examples given above have the same output, but yes the method differs, with that the parameters too.The substring() method the second parameter is the index to stop the search, whereas the second parameter of substr() is the maximum length to return.ExampleLet’s see an example for substr() method in JavaScript −Live Demo           JavaScript String substr() Method                          var str = "Apples are round, and apples are juicy.";          document.write("(1, 2): " + str.substr(1, 2));          document.write("(-2, 2): ... Read More

Item Text Inside the List Group in Bootstrap

Chandu yadav
Updated on 15-Jun-2020 06:39:35

293 Views

To set item text inside the list group, use the .list-group-item-text class.You can try to run the following code to implement the .list-group-item-text class −ExampleLive Demo           Bootstrap Example                                          Cars                                      Hyundai                i10                i20                                        Volkswagen                                Vento                Polo                                

Send Table from UI5 Application to ABAP Function Module

Johar Ali
Updated on 15-Jun-2020 06:38:18

907 Views

This can be done using an OData service that accepts POST request from your UI5 application and writes data to a database table. While implementing OData service, you have to call ABAP Backend Class method.You have to remember that all application and classes are instantiated for processing and will end as soon as the request is completed. An OData service can be created using SAP Gateway Service Builder (SEGW).Following steps has to be performed for creating an OData service:Creation of Data ModelGenerate Runtime ObjectsRegistration of ServiceService ImplementationOnce you create a project in Gateway Service Builder, you have to create Entity ... Read More

Set Danger Action for List Item in Bootstrap List Group

Smita Kapse
Updated on 15-Jun-2020 06:38:08

124 Views

Use the .list-group-item-danger class in Bootstrap to set danger action for a list item in a list group −ExampleLive Demo           Bootstrap Example                                          Demo One                                      A                                        B                                

Bootstrap Progress Bar Class

George John
Updated on 15-Jun-2020 06:36:49

273 Views

Use the progress-bar class in Bootstrap to create a progress bar.You can try to run the following code to implement progress-bar class in Bootstrap −ExampleLive Demo           Bootstrap Example                                                       70% Complete                    

Create Extra Small Button Group with Bootstrap

Smita Kapse
Updated on 15-Jun-2020 06:35:32

288 Views

To create a large button group in Bootstrap, use the .btn-group-xs class.You can try to run the following code to implement the .btn-group-xs class −ExampleLive Demo           Bootstrap Example                                 The following are the car brands:                BMW          Audi          Jeep          Datsun          Toyota             The following are FMCG:                ITC Limited          Colgate-Palmolive          Nestle          Britannia Industries Limited          

Use Bootstrap Button Plugins

Smita Kapse
Updated on 15-Jun-2020 06:34:08

128 Views

Add in some interaction such as control button states or create groups of buttons for more components like toolbars with the plugin.You can try to run the following code to implement button plugin −ExampleLive Demo           Bootstrap Example                                 Button Example                             Primary                                $(function () {             $("#myButtons1 .btn").click(function(){                $(this).button('toggle');             });          });          

Large Input Field with Bootstrap

Arjun Thakur
Updated on 15-Jun-2020 06:32:44

558 Views

Use the .input-lg class to set large input field in Bootstrap.You can try to run the following code to implement .input-lg class −ExampleLive Demo           Bootstrap Example                                                      Candidate Profile                                      What is your job profile?                                   Programmer                   Web Developer                   DBA                   Support Engineer                                                        Educational Qualifcation                                   Undergraduate                   Graduate                   Post-Graduate                                                

Use Bootstrap Collapse Plugins

Smita Kapse
Updated on 15-Jun-2020 06:31:28

136 Views

The collapse plugin makes it easy to make collapsing divisions of the page. Whether you use it to build an accordion navigation or content boxes, it allows for a lot of content options.You can try to run the following code to implement collapse plugins in Bootstrap −ExampleLive Demo           Bootstrap Example                                                                                                              Click me to expand. Click me again to collapse.Section                                                                                             Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred                   nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo.                                                

Advertisements