-
Alphanumeric, Dash and Underscore Javascript Validation using Regular Expression
Saturday, 3 May 2014
var regexp = /^[a-zA-Z0-9-_]+$/;var check = "checkme";if (check.search(regexp) == -1){ alert('invalid'); }else{ alert('valid'); }var regexp = /^[a-zA-Z0-9]+$/;var check = "checkme";if (check.search(regexp) == -1){ alert('invalid'); }else{ alert('valid'); }Posted by Unknown at 05:05 | Labels: jquery, Js | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery get key press button event
Friday, 25 April 2014
<input type="text" name="txt1" onKeyPress="SearchName(event)" value="<Type To Search>" >
function SearchName(e, txtObj, selObj) {
evt = e || window.event;
var keyPressed = evt.which || evt.keyCode;
}Posted by Unknown at 05:49 | Labels: jquery, Js | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Upload file via ajax jquery php
Monday, 14 April 2014
$.ajax({
type : "POST",
/* data : $('#reg-restaurant-form').serialize(),*/
contentType: false,
processData: false,
data :new FormData($('#reg-restaurant-form')[0]),
url : myBaseUrl+('/UsersActions/restaurantUserAdd'),
success : function(opt){
}
});
Posted by Unknown at 00:32 | Labels: ajax, jquery, Js, php | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Get value of checked checkbox Jquery
Monday, 22 April 2013
Get checked checkboxes
Loops through all the checked checkboxes and adds checkbox value to an array using jquery :checkbox selector.
$(":checkbox:checked").each(
function() {
$(this).val();
}
);
Get unchecked checkboxesLoops through all the unchecked checkboxes and adds checkbox value to an array.$(":checkbox").not(:checked).each(function() {$(this).val();});Refer:Posted by Unknown at 09:53 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery noConflict
Wednesday, 10 April 2013
Actual code
$(document).ready(function(){
$('li.mainlevel').mousemove(function(){
$(this).find('ul').slideDown();//you can give it a speed
});
$('li.mainlevel').mouseleave(function(){
$(this).find('ul').slideUp("fast");
});
});
To avoid no conflictvar j = jQuery.noConflict(); // define and replace object $ with j
j(document).ready(function(){
j('li.mainlevel').mousemove(function(){
j(this).find('ul').slideDown();//you can give it a speed
});
j('li.mainlevel').mouseleave(function(){
j(this).find('ul').slideUp("fast");
});
});
Posted by Unknown at 05:26 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Website design tool and links
Monday, 21 January 2013
http://twitter.github.com/bootstrap/
http://www.webdesignerdepot.com/category/code/
Collection of HTML, CSS and JQUERY
http://jqueryexample.com/
http://www.htmldrive.net
http://www.dynamicdrive.com/
http://jqueryui.com/
http://www.jacklmoore.com
http://webdesignledger.com/tools/10-jquery-plugins-that-will-make-your-life-easier
Posted by Unknown at 22:32 | Labels: html, jquery, Js, websites | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Right click disabled click!!
Wednesday, 9 January 2013
<script language=JavaScript> var message="Function Disabled!"; function clickIE4(){ if (event.button==2){ alert(message); return false; } } function clickNS4(e){ if (document.layers||document.copy paste disable scriptgetElementById&&!document.all) { if (e.which==2||e.which==3){ alert(message); return false; } } } if (document.layers){ document.captureEvents(Event. MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document. getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu=new Function("alert(message); return false") </script>
<body ondragstart="return false" onselectstart="return false" >Posted by Unknown at 05:01 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
to know PHP
Wednesday, 2 January 2013
http://www.phpclasses.org/
http://www.9lessons.info/Posted by Unknown at 02:06 | Labels: ajax, jquery, login, php | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery image rotator plugin
Tuesday, 1 January 2013
http://www.1stwebdesigner.com/css/fresh-jquery-image-gallery-display-solutions/
http://www.mind-projects.it/projects/jqzoom/
http://malsup.com/jquery/cycle/
http://sorgalla.com/projects/jcarousel/#Examples
http://ryrych.github.com/rcarousel/#examples
http://www.themepunch.com/codecanyon/showbiz/
Download link : http://www.newone.org/showbiz-business-carousel-jquery-plugin-rip-codecanyon
http://wordpressplus.org/showbiz-business-carousel-jquery-plugin/ -> working
http://caroufredsel.dev7studios.com/index.php
http://codecanyon.net/item/hoverex-jquery-image-hover-animation-plugin/full_screen_preview/3450469?ref=themespotters
http://www.aepbox.com/script/41881-codecanyon-picanim-jquery-image-hover-effect-pulgin.html
http://www.aepbox.com/dl/free+codecanyon+hoverex+jquery+image+hover+animation+plugin.htmlPosted by Unknown at 21:10 | Labels: jquery, websites | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery Prompt box
Thursday, 20 December 2012
Jquery Prompt box
http://trentrichardson.com/Impromptu/Posted by Unknown at 05:09 | Labels: jquery, Js, websites | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery multiple file upload!!
Wednesday, 12 December 2012
Links to get multiple file uplaod
http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples
http://www.cult-f.net/multiple-file-uploaders/Posted by Unknown at 01:01 | Labels: jquery, php | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery redirecting to privious page!!
Monday, 3 December 2012
Jquery redirecting to privious page!!
history.go(-1);Posted by Unknown at 05:26 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquey to execute on page load
$(document).ready(function() { // Handler for .ready() called. });
Jquey to execute after page load
$(function() { // Handler for .ready() called. });
Posted by Unknown at 05:09 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery function passing parameters!!
Wednesday, 28 November 2012
php echo $row['id']; ?>">Edit User$('a.edit').click(function () { var id = $(this).data('id'); // do something with the id return false; });Posted by Unknown at 04:03 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
JQuery website for ajax content, pagination, email check, and more....
Tuesday, 27 November 2012
JQuery website for ajax content, pagination, email check, and more....
http://www.mix26.com/Posted by Unknown at 23:19 | Labels: ajax, jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
JQuery Auto complete plugin
http://jqueryui.com/autocomplete/Html->script('jquery-ui'); ?>Html->css('jquery-ui'); ?>//$('#tags').keypress(function(){ // when clicked sign in button ajax call performsvar availableTags1;$(function() {$.ajax({type : "POST",//data : $('#UserAjaxloginForm').serialize(),//url : 'http://localhost/autosuggest/autosuggest1.php',url : myBaseUrl+('/home/autoComplete'),//url : "/dealzbuyp4sep15/index.php/users/ajaxlogin?un="+(($('#UserUsername').val())),success : function(opt){av = new String(opt)availableTags1 = av.split(',');//alert(availableTags1);$( "#LocationmasterName" ).autocomplete({source: availableTags1});}});});function searchValidate(){$('#LocationmasterName').html('');$('#SubcatName').html('');if(($('#LocationmasterName').val() == '' || $('#LocationmasterName').val() == 'Local search...' || $('#LocationmasterName').val() == 'No results found' ) && ($('#SubcatName').val() == '' || $('#SubcatName').val() == 'I am Looking For...' || $('#SubcatName').val() == 'No results found' ) ){$('#LocationmasterNameMsg').attr('value', 'No results found');$('#SubcatName').attr('value', 'No results found');return false;}else{return true;}}$(document).ready(function(){$("#SubcatName").focusout(function() {var searchword = $( "#SubcatName" ).val();if((jQuery.inArray(searchword, availableTags2) < 0) && $( "#SubcatName" ).val() != ''){$('#SubcatName').attr('value', 'No results found');}});});$(document).ready(function(){$("#LocationmasterName").focusout(function() {var locationsearchword = $( "#LocationmasterName" ).val();if((jQuery.inArray(locationsearchword , availableTags1) < 0) && $( "#LocationmasterName" ).val() != ''){$('#LocationmasterName').attr('value', 'No results found');}});});
Html formForm->input('place',array('label' => '','id' => 'LocationmasterName', 'title' => 'Local search...')); ?>Posted by Unknown at 01:09 | Labels: ajax, jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery functions for event!!
Monday, 26 November 2012
Jquery functions for event
$(document).ready(function(){$("#yourid").focusout(function() {alert('coding here');});});Posted by Unknown at 23:24 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
$('#yourElementId').attr('title', 'your new title');var assign = $('#yourElementId').attr('title');Posted by Unknown at 23:17 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |
-
Jquery websites!!
Thursday, 18 October 2012
Posted by Unknown at 10:08 | Labels: jquery | 0 comments | Email This BlogThis! Share to X Share to Facebook |