Blog Archives

  • Randomize an array in javascript

    Randomize an array in javascript

    This is the sample post of randomize array concept in javascript; In the below example i will show you to randomize an array using its position in java script. var _arrayOne=[1,2,3,4,5,6,7]; var _arrayTwo=[27,26,24,23,29,28,25]; var […]

  • Url Parsing In Jquery

    Url Parsing In Jquery

    Get Url(domain) parameter using jquery function. In below code, I wrote one function called getUrlVars(). Using this function you can get requesting parameter value. If parameter not found., It will return undefined response It […]

  • Jquery Checkbox Event Handling

    Jquery Checkbox Event Handling

    $('#buttonid :checkbox').click(function() { var $this = $(this); // $this will contain a reference to the checkbox if ($':checked')) { // the checkbox was checked } else { // the checkbox was unchecked } });

  • Redirect Page In Javascript

    Redirect Page In Javascript

    ASSIGN REDIRECT URL REDIECT TO GO BACK WINDOW NAVIGATION WINDOW LOCATION REPLACE I added the code to redirect the page using javascript ASSIGN REDIRECT URL <script language="javascript" type="text/javascript"> window.location.href=REDIRECTURL; //or window.location=REDIRECTURL; </script> REDIECT TO […]