• Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About sandeepm

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Gender
  1. i thought that $('#msg').text is not working better to try it $('#clickme').on('click', function(e) { $('#msg').html('hello'); $('#msg').delay(500).html('First Change!'); $('#msg').delay(500).html('Second Change!'); });
  2. Instead of using window.onload use below code $(document).ready(function() { timeleftpay(); });
  3. <!DOCTYPE html> <html> <body> <h1>JavaScript ISO Dates</h1> <p id="demo"></p> <script> document.getElementById("demo").innerHTML = new Date("2015-03-25"); </script> </body> </html>
  4. function test(){ var a = "hellow"; } This is my javascript function i want to use my php data to this function, how?
  5. That entire thing is validate using javascript and jquery it's really fine.
  6. By using GET/ POST method you can transfer the data from one page to another page.
  7. Ok, But i am uploading only 200kb video and it's not reading temp_name and type why?
  8. While uploading a video, not uploading but image and files are uploading. The array after showing array Array( [file] => Array ( [name] => vlc-record-2016-05-08-21h02m18s.mp4 [type] => [tmp_name] => [error] => 1 [size] => 0 )) can any one please help me.
  9. if your requirement is empty the specific array members means just do like this $arr[1] = '';
  10. If you have full of confusions let do one thing echo "<ul>"; while ($record = mysqli_fetch_assoc($result)) { $id = $record['id']; $brand = $record['brand']; $description = $record['description']; $images = $record['images']; $title = $record['title']; echo "<li> $id $brand $description </li>"; ?> <img src="car/<?php echo $images ?>" height="100" title="<?php echo $title ?>" alt="car" /> // write like this and check once <?php } echo "</ul>";
  11. Please add enctype="multipart/form-data" in form opening tag (<fortm enctype="multipart/form-data"></form>) Then you can check while submitting form in post method
  12. this code is help full to you check once Initially you can save all images in one variable then, $(document).ready(function() { window.setInterval(function(){ countdown(); }, 1000);// every one second }); function countdown() { // build your logic to get random images from that variable }
  13. i am trying to learn cake php, so before i have some doubts, in cake frame work can we write row queries in controller is that best way because cake php formats are very different. can i fallow the regular query formats and i need some reference's for learning cakephp
  14. I am working with facebook share button in view file and ajax files, but facebook share button not working in ajax page but it's working in when page load time this is my code, <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); = id; js.src = "//"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <div class="fb-share-button" data-href="/useradmins/details/<?php echo $param ?>/<?php echo $inst_name.'-'.$institute_id ?>" data-layout="button_count"></div> can you please help me?
  15. i need logout code for apllication. This code is working properly but the issue is when the mouse moments on that browser it's not working can you tell me please.. $url = BASE_URL; $url1='home/logout'; $TimeOutMinutes = 5; // This is your TimeOut period in minutes $LogOff_URL = $url.''.$url1; // If timed out, it will be redirected to this page $TimeOutSeconds = $TimeOutMinutes * 60; // TimeOut in Seconds if (isset($_SESSION['SessionStartTime'])) { $InActiveTime = time() - $_SESSION['SessionStartTime']; if($InActiveTime >= $TimeOutSeconds) { echo "<script type='text/javascript'> window.onload = function () { top.location.href = '" . $LogOff_URL . "'; }; </script>"; } } $_SESSION['SessionStartTime'] = time();