www.webdeveloper.com
Results 1 to 2 of 2

Thread: $('#Form').on(”change”,function(){ bugg

  1. #1
    Join Date
    Mar 2014
    Posts
    1

    $('#Form').on(”change”,function(){ bugg

    Ive got a problem with this code, the intention is that it saves the form data on change, it does that but not consistantly..if the page is reloaded the old data is in the Form, any input gladly taken.

    $('#Form').on(”change”,function(){

    var dataString = $('#Form').serialize() + '&submit_save=Save'

    $.post(”test.php, dataString, function(inData){

    window.alert(dataString);

    window.location.reload();

    });
    return false;
    });

  2. #2
    Join Date
    Mar 2014
    Posts
    40
    You need to append data in url or using a database

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles