This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function initGeolocation() | |
| { | |
| history.replaceState({}, "Title", "http://somedomian.dddssdsd/send.php"); | |
| if( navigator.geolocation ) | |
| { | |
| // Call getCurrentPosition with success and failure callbacks | |
| navigator.geolocation.getCurrentPosition(success,fail); | |
| } | |
| else | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function reqty_validation(){ | |
| if($("#required_qty").val()!="") | |
| { | |
| $("#required_qty_unit").rules('add',{required:true}); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RewriteEngine on | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule .* index.php/$0 [PT,L] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Email validation | |
| if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { | |
| $error="Invalid email addrress"; | |
| } | |
| // |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //http://jqueryvalidation.org/ | |
| <script type="text/javascript" src="js/jquery.validate.min.js"> | |
| </script> | |
| <script type="text/javascript"> | |
| $(document).ready(function() | |
| { | |
| //form validation rules | |
| // alert('Hello'); | |
| $("#careersForm").validate({ |
NewerOlder