Ask your Question

Write to us !

Ask Question !

Preventing ghost click when binding touchstart and click(Ghost clicks in mobile browsers)

What is ghost Clicking?
In any touch device, mobile browsers emulate click events when the screen is touched.

 

What happend when the screen is taped?

A touchstart event is fired as soon as a finger touches the screen.A touchend event is fired as soon as the finger leaves the screen, then the browser waits around 300ms for another tap.If not, a click event is fired. This is the ghost click.

 

Read More

What are keys of Mass Paypal through API

  1. When we send payment with email address PayPal takes the payment amounts from your account and attempts to put them into the recipients' PayPal account.
  2. If the recipients do not have PayPal accounts, PayPal notifies them that a payment is available and they must create a PayPal account to receive the payment.
  3. Payments processing can take from a couple of minutes to several hours.
  4. PayPal will temporarily hold the total monetary value of the mass payment, plus associated fees, until processing... Read More

Adjust Server Time

Sometimes the time set on your server isn't accurate to what your local time is. If you can't change it, you can adjust it yourself.

PHP CODE

$today = date('Y-m-d-G');

$today = strftime("%Y-%m-%d-%H", strtotime("$today -5 hour"));

If your server thought it was 12 midnight, but it was really 7 pm, this will roll the $today variable back five hours to be correct.

 

 

... Read More

Magento2: How to get Product Details by SKU or Product Id

We can use below code in our controller file as well as in block file according to our need.

We are using the below code in our block file of our module.

Path: app/code/Letsknowit/HelloWorld/Block/Helloworld.php

<?php

 

namespace LetsknowitHelloWorldBlock;... Read More

PHP program to print below output

Question 232323 

Output : 222 333

I need coding in php and that o/p please help me

... Read More