JQuery problem with .load

Discussion in 'jQuery' started by ernest1a, Jun 2, 2009.

  1. #1
    I want to load everytime user click on Add more a page test.html where are inside html stored text fields for form. The problem is everytime I call the function, it removes the first test.html and shows again test.html but it should show an extra one without removing the first one. How to do that?

    $(function() {

    $('#clickme').click(function() {
    $('#include').load('test.html');

    Tnx!
     
    ernest1a, Jun 2, 2009 IP
  2. bindassdelhiite

    bindassdelhiite Active Member

    Messages:
    112
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Post your HTML code where this function is applied.
     
    bindassdelhiite, Jun 5, 2009 IP