Seetha has Published 104 Answers

What are valid values for the id attribute in HTML?

seetha

seetha

Updated on 19-Feb-2020 11:28:37

The valid values for id attributes are different in HTML4 and HTML5.HTML5HTML does not allow space characters. The string should not be empty. It must contain atleast one character.<p id="test">This is demo text.</p> <p id="#test"> This is demo text.</p>Refer for more.HTML4ID and NAME tokens must begin with a letter ([A-Za-z]) ... Read More

Get all occurrences of the string between any two specific characters in SAP ABAP

seetha

seetha

Updated on 13-Feb-2020 12:26:49

I usually use REGEX in all such cases as it is faster and easily readable and would recommend the same to you.You can use something similar as the snippet to get your job done.DATA: lv_para TYPE string. lv_para = ' You &are like& kite &flying& in a &hurricane&'. REPLACE ALL ... Read More

Assign image source dynamically in XML View in Fiori app in SAP UI5

seetha

seetha

Updated on 13-Feb-2020 11:30:20

Yes, it can be done but you need to compute the dynamic field.Firstly, you need to mention that the binding is complex so change the flag −“data-sap-ui-bindingSyntax="complex" ”. Then have a helper function which can be used for formatting.fnImageFmtr: function(value) {    var imgSrc = "Image" + value;    return imgSrc; ... Read More

While connecting to one MySQL database, how can I see the list of tables of other MySQL database?

seetha

seetha

Updated on 13-Feb-2020 10:16:22

With the help of SHOW TABLES From Database_name query, we can see the tables of another database. Here Database_name is the name of the database which we are not using currently. Consider the following example in which we run the query for getting the list of tables in database name ‘tutorial’.mysql> ... Read More

How can we write MySQL handler, in a stored procedure, that use SQLSTATE for default MySQL error and exit the execution?

seetha

seetha

Updated on 12-Feb-2020 07:57:10

As we know that whenever an exception occurred in MySQL stored procedure, it is very important to handle it by throwing proper error message because if we do not handle the exception, there would be a chance to fail application with that certain exception in a stored procedure. MySQL provides ... Read More

How can we get the list of MySQL server-side help categories?

seetha

seetha

Updated on 11-Feb-2020 07:58:27

We can get the list of MySQL server-side help categories by giving the keyword contents to the help command.mysql> help contents You asked for help about help category: "Contents" For more information, type 'help <item>', where <item> is one of the following categories:    Account Management    Administration    Compound ... Read More

How can we transfer information between MySQL and data files through command line?

seetha

seetha

Updated on 07-Feb-2020 05:31:01

Transferring the information between MySQL and data files mean importing data from data files into our database or exporting data from our database into files. MySQL is having two commands that can be used to import or export data between MySQL and data files through the command line −mysqlimport Actually, mysqlimport ... Read More

Abstract Method and Classes in Java

seetha

seetha

Updated on 06-Feb-2020 07:50:03

Yes. We can create abstract method/classes in Java very easily.ExampleTo create an abstract class, just use the abstract keyword before the class keyword, in the class declaration. /* File name : Employee.java */ public abstract class Employee {    private String name; private String address;    private int number; public Employee(String ... Read More

Set the text shadow around a text with CSS

seetha

seetha

Updated on 31-Jan-2020 06:26:11

The text-shadow property is used to set the text shadow around a text.ExampleYou can try to run the following code to implement text-shadow property:<html>    <head>    </head>    <body>       <p style = "text-shadow:2px 2px 5px red;">          Indian is a country in continent Asia. ... Read More

Usage of font-family property in CSS

seetha

seetha

Updated on 30-Jan-2020 10:16:40

The font-family property is used to change the face of a font. Possible value could be any font family name.<html>    <head>    </head>    <body>       <p style = "font-family:georgia, garamond, serif;">          This text is rendered in either georgia, garamond, or the default ... Read More

Advertisements