last day (16 days later) » 

5:18 AM
1
A: Simple validation in button click action using jquery

jQuery Angry BirdCheck FIDDLE Use name attribute in validate NOT ID,Check code <form id="form1" name="form1"> Field 1: <input id="field1" name="field1" type="text" class="required"><br> Field 2: <input id="field2" name="field2" type="text" class="required"><br> Field 3: <input id="field3" name=...

 
Just now i realized that jsfiddle.net/KLrs6/582 Anyways thanks +1
 
@BizDev Welcome ,and please work on improving english a little .Thanks.
 
Ahm, thanks. You mean the way i convey or my grammar ?
 
@BizDev Both -> Just now i realized that jsfiddle.net/KLrs6/582 Anyways thanks +1 Here , 1)You need to Capitalize 'I' 2)I realized that jsfiddle.net ,This is incomplete sentence. you should use I realized that jsfiddle.net is working properly. like this 3)Before Anyway use Fullstop "." as you completed 1st sentence.4)After Anyway thanks give fullstop , like Anyway thanks..
 
Thanks. I will correct myself.
I have another problem while implementing this, and i can't ask questions as SO allows only one question for 90 min. Shall we start a chat for this.
 
5:18 AM
sure no doubt , I love jquery-validate
 
Hi, there ??
 
My problem is i have two script, first script will check from the database whether the name already exists or not and another is basic jquery validate which i asked in question
Let me post the script so that you can understand
The issue is the basic jquery validate happens, but the first validation which return from database is not throwing the error
<script>
$(document).ready(function()
{
$("#driver").click(function(event)
{
var BusNo=$("#BusNo").val();var CompID=$("#CompID").val();var TotalSeats=$("#TotalSeats").val(); var imagetextbox =$("#imagetextbox").val();var _token=$("#_token").val();
if ($('#ch_active').is(":checked"))
{
var ch_active = '1';
}
else
{
var ch_active = '0';
}
$.post("managebus_register",
{_token: _token, BusNo: BusNo, CompID:CompID , TotalSeats:TotalSeats, ch_active: ch_active, imagetextbox: imagetextbox},
function(data)
And you able to understand the script ??
 
just a minute .how much experience u have in this field?
You need to Indent JS dude.
<script>
$(document).ready(function() {
$("#driver").click(function(event) {
var BusNo = $("#BusNo").val();
var CompID = $("#CompID").val();
var TotalSeats = $("#TotalSeats").val();
var imagetextbox = $("#imagetextbox").val();
var _token = $("#_token").val();
if ($('#ch_active').is(":checked")) {
var ch_active = '1';
} else {
var ch_active = '0';
}
$.post("managebus_register", {
_token: _token,
BusNo: BusNo,
CompID: CompID,
TotalSeats: TotalSeats,
ch_active: ch_active,
imagetextbox: imagetextbox
 
3 months , and i am fresher
 
5:38 AM
ok no big deal.I m in office now ,and they dnt allow chattinf
chatting*
So u please mail me : nutandevjoshi@gmail.com
 
Yeah sure
Thanks I am trying to solve it by myself, if i need your assist i will mail you.
Thanks :)
 
or u can post new question on stackoverflow
and give me link of it in Current jquery validate question u asked
welcome
 

  last day (16 days later) »