Category: Jquery & Javascript
BxSlider load slide from ajax
http://jsfiddle.net/VVTS9/89/... Read MoreInclude Google malayalam typing in typing
Include below code in header section ===================================== <script type=”text/javascript” src=”http://www.google.com/jsapi”></script> <link href=... Read MoreSelecting radio button using javascript
Selecting radio button with jquery: Suppose radio button has id “mybutton”; Then jQuery(“#mybutton”).prop(“checked”, true);... Read MoreGetting first 3 letters of a string in javascript
Substring in javascript: How to get substring of a string in javascript: var station=”Chennai”; var res = station.substring(0, 3);alert(res); result will be “Che”.... Read MoreHow to make fancybox pop up images of same height and width
Changing size of popup box in jquery fancy box images: jQuery(".fancybox").fancybox({ closeBtn : true, arrows : true, fitToView: false, nextClick : true, beforeShow: function () { this.... Read MoreMobile and desktop specific jquery
Javascript based on screen size: if ( $(window).width() > 736) { alert("desktop"); } else { alert("small screen"); } You can specify the width of mobile, tab etc. both Portrait a... Read MoreSplit a string using jquery
Let string be: var str=”hello/how/are/u?”; Split string by “/”. var res = str.split(“/”); //getting complete result. alert(res); // getting each value in the array ... Read MoreHow to get the current page url in javascript
use below method to get current url in javascript: var hrf = window.location; console.log(hrf);... Read MoreRedirecting to a specific page in javascript
Redirecting to a specific page in javascript: window.location = “not_proccessed.php”; Reloading the current page using javascript: window.location.reload();... Read More- 3 of 4
- « Previous
- 1
- 2
- 3
- 4
- Next »