Category : Jquery

13 posts

<script> $(document).ready(function () { var form = $('#ajaxForm'); var total,unpaid,paid; $('[name="total"],[name="paid"]',form).change(function () { total = $('[name="total"]',form).val(); paid = $('[name="paid"]',form).val(); unpaid = total-paid; $('[name="unpaid"]',form).val(unpaid); }) }) </script>  
In this tutorial i am going to teach you how to show desktop notification in your browser and now a days it very powerful tool to promote any website and helps the website to get the visitor attention on any particular topic. Today i’ll just teach you how to show desktop notification only and in …
Best Fonts to give fabulous look to your projects
If you are fascinating to use latest and attractive fonts in your website, app and in many other to get the user attraction then you can pay a visit to http://fonts.artill.de/collection/. In this website you may find some paid or free fonts that will give new look in your working project. I have seen that some …
I am going to describe how to get radio button value using jquery: below is html code: <div class="ud-radio-box"> <label> Gender: </label> <label class="radio-inline"> <input type="radio" name="gender">Male </label> <label class="radio-inline"> <input type="radio" name="gender">Female </label> </div> then get value of radio button using jquery: var radionBtn = jQuery('[name="gender"]:checked').val(); // with validation if(radionBtn == '' || typeof …
Font Awesome Cheatsheet
In this I am going to describe you that how to use font awesome in photoshop so that we can fast implement icons on our projects in form of font instead of image icon. It save our time, we don’t need to find icons from different places, all we get at one place. It helps …
Change placeholder color
::-webkit-input-placeholder { color: blue; } :-moz-placeholder { /* Firefox 18- */ color: blue; } ::-moz-placeholder { /* Firefox 19+ */ color: blue; } :-ms-input-placeholder { color: blue; } It change all the text box placeholder color, but if you want to specify with particular text box placeholder color change then you may use class with …
facebook page like in popup with cookie and timer
Include this css file in before head tag <link rel="stylesheet" href="http://googleboy.in/wp-content/uploads/2016/04/light_box.css"> Include these js files before closing body tag <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"> <script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/2.1.5/jquery.fancybox.min.js"></script> <script src="http://googleboy.in/wp-content/uploads/2016/04/jquery.cookie.js"></script> Include Below code after all above js files <a class="fancybox" href="#"></a> // at place of # you may place your site logo link if not then hide text using css …
It is very easy to unserialize json data in jquery but when get serialize php data without echoing json_encode from ajax request then it become complicated to unserilize that. So to unserialize using jquery use the following jquery code. function unserialize (data) { // note: We feel the main purpose of this function should be to …
To set font-awesome icon in circle with proper height and weight using css: Use Pure css, for border-radius and to set a fixed width and height to font-awesome. .social [class*="fa fa-"] { background-color: #333; border-radius: 30px; color: #fff; display: inline-block; height: 30px; line-height: 30px; margin: auto 3px; width: 30px; font-size: 15px; text-align: center; } to make …
To apply your sitename and remove the wordpress name from email follow the below code: I am using Contact Form 7 and after creating the form click on MAIL TAB In TO label textbox -> fill where to send form content In From label textbox -> enter name where you want to show in place of …
PAGE TOP