I’m trying to find the value of the submit button that triggered the form to submit, so in accordance I can do differents things, actually I use this:
$("#regform").on('submit', function(e) {
if (($(document.activeElement).val()) == "cf") {
e.preventDefault();
// This doesnt work on iOs Devices
}
});
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<form action="action.php" method="post" id="regform" class="regform" accept-charset="utf-8">
<button class="btn btn-outline-primary" type="submit" id="check-cf" value="cf">Check CF</button>
<input type="submit" name="submit" class="btn btn-success btn-lg btn-block" value="Reg">
</form>
document.activeElement
doesn’t work in many cases. What should I use nowadays to be compatible to achieve that?
modafinil dosage – vigilpr.com provigil 100 mg
where to get accutane uk – accutane online usa accutane us
buy amoxicilin 500 mg online canada – amoxicillin for sale in us buy amoxicillin 500 mg canada
generic vardenafil with dapoxetine – buy vardenafil 10 mg vardenafil for sale
ivermectin side effects – ivermectin human ivermectin for human
no prescription pharmacy paypal – where can i buy brand name cialis online buy cialis online without a prescription
ivermectin us – ivermectin 10 mg ivermectin oral solution
accutane over the counter – accutane for sale without prescription accutane price online pharmacy
lyrica medication generic – cheap viagra canadian pharmacy canadian pharmacy coupon
amoxicillin price without insurance walmart – amoxicillin for sale for humans 500 mg amoxicillin for sale for humans
how to buy viagra in us – cure for ed price of viagra 2018
prescription tadalafil online – cialis from canada pharmacy purchase cialis 20 mg
stromectol tablets for humans for sale – stromectol uk ivermectin order
prednisone tablets india – prednisone without rx cost of 10 mg prednisone
provigil 100 mg – site provigil 100mg
zithromax order online uk – zithromax price zithromax 500 mg tablet
can you buy lasix over the counter – cost of furosemide uk lasix online canada
buy clomid online – where can i buy clomid clomid buy online
ivermectin lice oral – stromectol pills buy oral stromectol
cytotec usa – cytotec 200mcg cytotec pills for abortion
canadian pharmacy online doxycycline – doxycycline for dogs doxycycline 150 mg tablets
i want to buy viagra – online viagra tablet canada
20mg cialis – generic cialis 20 mg cheap tadalafil 100mg india
buy vardenafil online usa – order vardenafil from canada vardenafil coupons manufacturer
accutane pills buy – buy cheap accutane price of accutane in australia
amoxicillin price at walmart – amoxicillin 500mg capsules generic amoxil 250mg
medrol 16 mg cost – lyrica 500 mg tablet price of lyrica in canada
prednisone 300 mg – 40 mg prednisone daily buy prednisone 5mg online
generic ventolin – ventolin online buy albuterol online
ivermectin 4 – stromectol 3 mg tablets price ivermectin us
49 mg accutane – cost of accutane accutane 40mg capsule
ivermectin syrup – buy ivermectin usa ivermectine online
vardenafil generic vs brand name – levitra vardenafil buying ed pills online
viagra online purchase – buy viagra north carolina sildenafil discount generic
viagra soft tabs canada – Generic viagra online how to order sildenafil
ivermectin 50 – ivermectin price usa can you buy stromectol over the counter
prednisone 5092 – buying prednisone online where to buy prednisone online without a script
buy accutane 10mg pills – purchase accutane pill order amoxicillin 1000mg generic
tadalafil goodrx tadalafil goodrx
tadalafil dosage lowest price cialis
tadalafil liquid https://cialisicp.com/
https://cialistrxy.com/ tadalafil drug
buy tadalis cheap cialis pills for sale
tadalafil cost in canada tadalafil brands
https://cialistrxy.com/ cheap generic cialis for sale
cost of cialis buy cialis
tadalafil brands tadalafil price walmart
buy tadalafil https://cialisicp.com/
tadalafil liquid cheap cialis pills for sale
best price usa tadalafil cialis without prescription
cialis without a prescription canada generic tadalafil
buy modafinil online cheap purchase modafinil for sale
ivermectin 3mg ivermectin 3mg price
buy stromectol 6mg order stromectol pill