Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About sandeepm

  • Rank

Contact Methods

  • Website URL
  1. sandeepm

    Add text when click on

    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. sandeepm

    refresh image each 10 secondes

    We have to call function every second, using setinterval
  3. sandeepm

    placing a function in an if condition [SOLVED]

    How can you place the function in if condition, is it possible.
  4. sandeepm

    already exist dont display

    By using group by or distinct in query we can get unique values.
  5. sandeepm

    change texts on a div using jquery

    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. sandeepm

    window.load not displaying my record

    Instead of using window.onload use below code $(document).ready(function() { timeleftpay(); });
  7. sandeepm

    How to place figure caption right below a figure?

    <!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. sandeepm

    How to use php data in javascript

    function test(){ var a = "hellow"; } This is my javascript function i want to use my php data to this function, how?
  9. sandeepm

    why is it not showing right

    That entire thing is validate using javascript and jquery it's really fine.
  10. sandeepm

    PHP passing values from one page to another

    By using GET/ POST method you can transfer the data from one page to another page.
  11. sandeepm

    video is not uploading in php

    Ok, But i am uploading only 200kb video and it's not reading temp_name and type why?
  12. sandeepm

    video is not uploading in php

    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. sandeepm

    Deleting specific array members

    if your requirement is empty the specific array members means just do like this $arr[1] = '';
  14. sandeepm

    what is wrong with this php script?

    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. sandeepm

    uploading an image

    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