Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

173
Views
How to remove Local Storage in another JS file

From below case, can someone help me to know how to remove localStorage which i have implemented below :

var serverSelectorDemo = function() {

         loadrightdata(); 
            function loadrightdata() {
                $('#kt_datatable_fetch_display2').html(localStorage.rightdata);
            };

        $('#kt_datatable2').on('click','tr button', function() {
            
           var id = $(this).data('id');
            $.ajax({
            type: 'post',
            url: 'src/khu-pusat/compare/right-side/right-value.php',
            data: {
                'rowid': id
            },
            success: function(data) {
            $('#kt_datatable_nodata2').addClass('hidden');
            localStorage.rightdata = data; 
             $('#kt_datatable_fetch_display2').html(localStorage.rightdata);
             return false;
            }
        });
    }).click(function() {
        $('#kt_datatable_fetch_display2').empty();
    });
    };

So far I can't find a way that can do this.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!