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());
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
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
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
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
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
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
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'); }); });
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
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.
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP