Forum Topic Detail

How to Withdraw Data From Refreshing A Form with Javascript

I'd like to put a picture on my screen without renewing the form with java script, for example, i think it's probably with Ajax but I can't find the codes on the internet and youtube javascript i'm in the first learning phase.



Share this article


Comments (2)

  • 
                                                                                                                          ALI KARABAY
    Ali KARABAY Reply

    Merhaba Ahmet buradaki kodlar ile yapabirlirsin sadece yapman gereken inputuna id vermek $("#coverImage").change(function() { var input = this; if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function(e) { $('#coverImageShow').attr('src', e.target.result); } reader.readAsDataURL(input.files[0]); } });

    1 year ago
    • 
                                                                                                                                                  John Archive
      John Archive Reply

      Oh, thank you. Was

      1 year ago
Log in to comment