1

I am using this code to get dynamic html. But existing jquery library and event other functions or js code not working for this dynamic code.

function getDynamicContent(id, tab_id) {
            jQuery.ajax({
                url: "test.php",
                data: 'id=' + id,
                type: "POST",
                success: function (data) {
                    $('#' + tab_id).html(data);
                }
            });
        }
Navdeep
  • 11
  • 1
  • 4

1 Answers1

0

If you use chrome, Chrome doesn't like AJAX from local files.

This is a known issue with Chrome.

Read this answer.