-
Who was the last ruling Maharaja of Jammu and Kashmir
-
The Wular Lake is located in which district
-
Which one is recognised as the state flower of J&K
-
In 1897, first railway line was built in Jammu and Kashmir to connect Jammu with which city
-
Which city has the most population in J&K
-
The Shalimar Bagh was built by
-
Srinagar is located on the banks of the
-
Total number of districts in Jammu and Kashmir
-
Total number of national parks in Jammu and Kashmir
-
On which hill, the Vaishno Devi mandir is located
-
The Shalimar Bagh was built in the year
-
Which one is the longest river in Jammu Kashmir
-
The kargil war was fought in the year
-
Which one is the largest district in Jammu and Kashmir by areawise
-
The Hemis National Park is famous for
-
Which article of the Indian constitution give special state status to Jammu and Kashmir
-
Between which mountain ranges is Kashmir Valley located
- A. Himadri - Pir Pranjal Correct Answer
- B. Shivalik - Himachal
- C. Karakoram - Himachal
- D. Himadri - Himachal
-
Who is the first Chief Minister of Jammu and Kashmir
-
Total number of Lok Sabha Constituency in Jammu and Kashmir is
-
Which of the following lakes of India is located in Jammu and Kashmir
-
Sheikh Abdullah died in the year
-
Which town in Jammu Kashmir is also known as Apple Town
-
From which year the Constitution of Jammu and Kashmir implement
Jammu and Kashmir GK Question- JK General Knowledge
Important jQuery and Javascript Code for Project
JQuery and Javascript Code Snippet
$("#fee_exp").change(function(){ if ($(this).val() == 'Y') { $("#check").removeClass('hide'); $("#check1").addClass('required'); }else{ $("#check").addClass('hide'); $("#check1").removeClass('required'); } });
function submitform() { $('#registeration').find('form').submit(); $('.clearFields').val(''); }
$('#splitPayment input:radio').change(function() {
if ($(this).val() === 'Y') {
$('#accountDetail').removeClass('hide'); $('#primary_account').addClass('required'); $('#additional_account').addClass('required'); } else if ($(this).val() === 'N') {
$('#accountDetail').addClass('hide'); $('#primary_account').removeClass('required'); $('#additional_account').removeClass('required'); $('#primary_account').val(""); $('#additional_account').val(""); } });
/*Input Field Validation */ $(".nameclass").on('input', function(event) { var regexp = /[^a-zA-Z @]/g; if($(this).val().match(regexp)){ $(this).val( $(this).val().replace(regexp,'') ); } }); $(".initials").on('input', function(event) { var regexp = /[^a-zA-Z .]/g; if($(this).val().match(regexp)){ $(this).val( $(this).val().replace(regexp,'') ); } }); $(".address").on('input', function(event) { var regexp = /[^a-zA-Z0-9 /,]/g; if($(this).val().match(regexp)){ $(this).val( $(this).val().replace(regexp,'') ); } }); $(".textonly").on('input', function(event) { var regexp = /[^a-zA-Z]/g; if($(this).val().match(regexp)){ $(this).val( $(this).val().replace(regexp,'') ); } }); $(".textnumber").on('input', function(event) { var regexp = /[^a-zA-Z0-9]/g; if($(this).val().match(regexp)){ $(this).val( $(this).val().replace(regexp,'') ); } }); $(".numberonly").on('input', function(event) { var regexp = /[^0-9]/g; if($(this).val().match(regexp)){ $(this).val( $(this).val().replace(regexp,'') ); } }); $(".onlytextspace").on('input', function(event) { var regexp = /[^a-zA-Z\s]+$/g; if($(this).val().match(regexp)){ $(this).val( $(this).val().replace(regexp,'') ); } }); $(".onlydottextspace").on('input', function(event) { //var regexp = /^([\s\.]?[a-zA-Z0-9]+)+$/; var regexp = /[^,/0-9a-zA-Z\s\.]+$/g; if($(this).val().match(regexp)){ $(this).val( $(this).val().replace(regexp,'') ); } });
$(document).ready(function(){ $('#class_id').change(function(){ var classId = $('#class_id').val();
$.ajax({ url: base_url+base_path+"/get-subject-list", type: "post", data: { classId : classId }, dataType: "json", success: function(data){ $("#subject_id").empty(); $("#subject_id").append('<option>Select Subject</option>'); $.each(data,function(key,value){ $("#subject_id").append('<option value="'+key+'">'+value+'</option>'); }); } }); }); });
$('#edudist_name').click(function(){ var edudistId = $('#edudist_name').val(); var edudist=[]; $.ajax({ url: base_url+base_path+"/check-rev-school", type: "post", data: { edudistId : edudistId }, dataType: "json", success: function(data){ $("#camp_id").empty(); $("#camp_id").append('<option>Select</option>'); $.each(data,function(key,value){ $("#camp_id").append('<option value="'+key+'">'+value+'</option>'); edudist.push(key); }); $("#edudist_name").append('<option value="'+edudist.join()+'"> ALL </option>'); } }); });
$("#date1").datepicker({ dateFormat: "dd-mm-yy", maxDate : 0, onSelect: function (date) { var dt1 = $('#date1').datepicker('getDate'); var dt2 = $('#date2').datepicker('getDate'); $('#date2').datepicker('option', 'minDate', dt1); } });
$('#date2').datepicker({ dateFormat: "dd-mm-yy", maxDate : 0, minDate: $('#date1').datepicker('getDate'), onClose: function () { var dt1 = $('#date1').datepicker('getDate'); var dt2 = $('#date2').datepicker('getDate'); //check to prevent a user from entering a date below date of dt1 if (dt2 <= dt1) { var minDate = $('#date2').datepicker('option', 'minDate'); $('#date2').datepicker('setDate', minDate); } } }); });
Subscribe to:
Posts (Atom)
Our Feature Post
There is a tree between houses of A and B If the tree leans on As House
There is a tree between houses of A and B. If the tree There is a tree between houses of A and B. If the tree leans on A’s House, the t...
Our Popular Post
-
👉 Reema can complete a piece of work in 12 days while Seema can the same work in 18 days. If they both work together, then how many da...
-
Probability Question and Solutions Two dice are thrown simultaneously. What is the probability of getting two numbers whose product...
-
The average of 11 numbers is 30. If the | Solutions The average of 11 numbers is 30 . If the average of first six numbers is...
-
Karan, Hari and Kowshik play cricket. The runs got by Karan to Hari and Hari to Kowshik are in the ratio of 5:3. They get altogether 588 ...
-
Analogies Questions :: Logical Reasoning 👉 Analogies shortcut tricks, Formula, Method and Notes 👉 Analogies Questions and a...