Jump to content


  • Posts

  • Joined

  • Last visited

Contact Methods

  • Website URL

sandeepm's Achievements


Newbie (1/7)



  1. function insertText(elemID, text) { var elem = document.getElementById(elemID); elem.value += text; } innerHTML is used to display text in html divs. By using name also we can get the values.
  2. We have to call function every second, using setinterval
  3. How can you place the function in if condition, is it possible.
  4. By using group by or distinct in query we can get unique values.
  5. 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!'); });
  6. Instead of using window.onload use below code $(document).ready(function() { timeleftpay(); });
  7. <!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>
  8. function test(){ var a = "hellow"; } This is my javascript function i want to use my php data to this function, how?
  9. That entire thing is validate using javascript and jquery it's really fine.
  10. By using GET/ POST method you can transfer the data from one page to another page.
  11. Ok, But i am uploading only 200kb video and it's not reading temp_name and type why?
  12. 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.
  13. if your requirement is empty the specific array members means just do like this $arr[1] = '';
  14. 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>";
  15. 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
  • Create New...