List/Grid Java Scripts Subscribe RSS feed of category Java Scripts
Change iframe url using javascript
If you want to change the iframe url from the iframe window, you can use this small function to change the url of the iframe. <script type=”text/javascript”> $(document).ready(function() { $(‘#clickToClose’).click(…
Open link in parent from child window or iframe using javascript
If you want to control parent window’s URL from the child frame or child window you can use “window.parent” to control the parent window. The complete solution is: <script type=”text/javascript”>…
Add custom or extra fields on registration page in wordpress
Open your theme’s function.php file and drag this PHP code in. <?php // This function shows the form fiend on registration page add_action(‘register_form’,’show_first_name_field’); // This is a check to…
How to check date if date is between two date
This function the return the true and false if date is exist or not exist. function dateWithin(StartDate,EndDate,CheckDate) { var b,e,c; s = Date.parse(StartDate); e = Date.parse(EndDate); c = Date.parse(CheckDate); if((c…
How to fetch current date and time using Javascript
JavaScript Current Time Clock With the newly created Date Object we can show the current date and time, now only a variable which store the current date and time. We…






