Marketing Forums                      

Welcome to the fastest-growing internet marketing forums!

Go Back   Marketing Forums > Webmaster's Lounge > Programming Corner

Programming Corner Anything related to programming... PHP, PERL, ASP, ColdFusion, C++, etc.

Reply
Submit Tools Thread Tools Search this Thread Display Modes
Unread 01-29-2018, 06:13 AM   #1
aesthetiqclinic
Member
 
Join Date: Jan 2018
iTrader: 0
Referrals: 0
Posts: 77
Reputation: 10
aesthetiqclinic is on a distinguished road
Default Form validation in AJAX

Hi guys!
i want to ask that is it true that form validation using required attribute doesn't work in ajax? i am using this script on button to submit record using ajax and if i left it blank it send the empty field into db: Here is my script of button when submit is clicked Please guide if anyone knows:

$('#submit').click(function(){
$.ajax({
urlostURL,
method:"POST",
data:$('#add_name').serialize(),
type:'json',
success:function(data)
{
i=1;
$('.dynamic-added').remove();
$('#add_name')[0].reset();
// alert('Record Inserted Successfully.');
$.NotificationService.showInfoNotification({
title: "Added Successfully!",
message: "",
});
}
});
});

aesthetiqclinic is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference in AJAX and jQuery? aesthetiqclinic HTML & Website Design 0 01-22-2018 04:59 AM
Bulk Email Validation Companies Rich_Mills Email Marketing Forum 8 04-16-2012 07:25 PM
Contact Form in Home page ghazia SEO - Search Engine Optimization 4 01-30-2012 03:27 PM


All times are GMT. The time now is 04:11 PM.


Navigation
Marketing Forums Homepage
Forum Home
Marketing Forums News
iTrader
Calendar
Forum Rules
Forum Statistics

FREE Link Directory
Link Directory Home
Link Exchange Programs
Affiliate Networks
Business Opps
CPM Ad Networks
Contextual Ad Networks
Domain Parking
Paid To Click
Paid To Read
Paid For Action
Paid To Promote
Shopping Rewards
Pay Per Click Programs
PPC Search Engines
Pay Per Sale
Work At Home Opps
Advertisements

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Marketing Forums | This is a Metabin Ltd. Website