Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to submit form with anchor tag (link) in jquery?

Submit a form with anchor tag (a and link) in jquery <form method=”get” action=””> <input type=”text” name=”ID” value=”jassi”> <input type=”text” name=”con” value=”singh”> <a href=”” onclick=”this.closest(‘form’).submit();return false;” value=”CONSTRUCTION CONTRACT”>CONSTRUCTION CONTRACT</a> </form>

Read More »

Check User Has Already Purchased Product in woo-commerce?

  WooCommerce: Check if User Has Already Purchased Product function start_deal_button(){ ob_start(); global $user; global $product; $current_user = wp_get_current_user(); if(!is_user_logged_in()) { echo “<a href='”.site_url().’/my-account’.”‘ class=’start-deal-button’>Start Deal  <i class=’fa fa-handshake’></i></a>”; }

Read More »