Vrundesha Joshi has Published 343 Articles

Example of Event Handlers in HTML5 CORS

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jan-2020 07:27:21

116 Views

Cross-origin resource sharing (CORS) is a mechanism to allows the restricted resources from another domain in a web browserFor suppose, if you click on HTML5- video player in html5 demo sections. It will ask camera permission. If the user allows the permission then only it will open the camera or ... Read More

Filter gray image, black around png in Internet Explorer 8

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jan-2020 06:27:59

96 Views

The filters to be applied must be formed in a single filter call. Set like this:progid : DXImageTransform.Microsoft.BasicImage(grayscale = 1)The CSS should work like the following:.demo {    background: transparent;    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = #00FFFFFF,endColorstr = #00FFFFFF)    progid:DXImageTransform.Microsoft.BasicImage(grayscale = 1)"; /* IE8 */    zoom: 1; }

How to apply EXTRACT() function on the dates stored in MySQL table?

Vrundesha Joshi

Vrundesha Joshi

Updated on 29-Jan-2020 06:10:46

145 Views

We can apply EXTRACT() function on the dates stored in MySQL table in the following way −The following query is showing what dates are entered in table ‘testing’mysql> Select * from testing; +-------------+---------------------+ | StudentName | Dateofreg           | +-------------+---------------------+ | Ram         ... Read More

In MySQL, how we can compute date by providing the year, week number and day of the week?day of the week?

Vrundesha Joshi

Vrundesha Joshi

Updated on 28-Jan-2020 10:04:30

68 Views

We can compute the date as follows −mysql> SET @year=2017, @week=15, @day=4; Query OK, 0 rows affected (0.00 sec)The above query will pass the value’2017’ ,’15’, ‘4’ in ‘year’, ’week’ and ‘day’ variables respectively. Then after applying the formula in the query below, we can get the date.mysql> SELECT Str_To_Date( ... Read More

UIWebView HTML5 Canvas & Retina Display

Vrundesha Joshi

Vrundesha Joshi

Updated on 28-Jan-2020 10:02:02

135 Views

To place the retina size image into an HTML5 canvas, try the following code with canvas:var context = myCanvas.getContext("2d"); context.attr("width", width * window.devicePixelRatio); context.attr("height", height * window.devicePixelRatio); context.scale(window.devicePixelRatio, window.devicePixelRatio); context.drawImage(img, x, y, width, height);

How to use JavaScript to set cookies for homepage only?

Vrundesha Joshi

Vrundesha Joshi

Updated on 09-Jan-2020 10:33:42

237 Views

To set cookies for a homepage, add the page to the homepage itself.ExampleYou can try to run the following code to set cookiesLive Demo                                                  Enter name:                    

How to edit a JavaScript alert box title?

Vrundesha Joshi

Vrundesha Joshi

Updated on 08-Jan-2020 10:57:06

6K+ Views

It’s not possible to edit a JavaScript alert box title due to security issues. Still, to edit an alert box to work it all web browsers, use custom JavaScript Modal Dialogs or jQuery plugins.You can also use a custom alert box like Sweet Alert to get a custom alert box, ... Read More

How to refer and import SAP-UI-Core.js within my SAPUI5 project

Vrundesha Joshi

Vrundesha Joshi

Updated on 18-Dec-2019 10:03:04

252 Views

The SAPUI5 library files are a part of Eclipse SAPUI5 plug-in.If you are running the app by using the Web App preview on the startup page ( Go to Run As -> select “Web APP Preview”), then eclipse starts a local HTTP server for development which serves at “/resources” the ... Read More

Building a mobile app using OpenUI5 and Cordova using framework like jQuery.sap.storage

Vrundesha Joshi

Vrundesha Joshi

Updated on 18-Dec-2019 08:26:42

153 Views

You are thinking correctly for your requirement. What you can do is, use the read method for each entityset to read the oData. In the success callback for this method, you can parse the result objects into a corresponding JSON model.Now, you can have working logic as per which:When you ... Read More

Using combination of “AND” and “OR” in SELECT in ABAP

Vrundesha Joshi

Vrundesha Joshi

Updated on 09-Dec-2019 06:32:33

8K+ Views

You can use the following query:SELECT * FROM my_table WHERE condition 1 AND condition 2 AND ( id EQ '2' or id EQ ‘3’ ).Note: There should be space after and before bracket.Alternatively you can use IN statement as below:SELECT * FROM my_table WHERE condition 1 AND condition 2 AND ... Read More

Previous 1 ... 7 8 9 10 11 ... 35 Next
Advertisements