Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7914657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T14:11:38+00:00 2026-06-03T14:11:38+00:00

hello friends i am working on a like module .and having some difficulties running

  • 0

hello friends i am working on a like module .and having some difficulties running it on ie . in all other browsers its running fine . the prob is when i click on like button nothing happens in ie . can anyone see my piece of code and help me out . IE is Such a pain .

           $('.LikeThis').livequery("click",function(e){

        var getID   =  $(this).attr('id').replace('post_id','');
        var uid = $('.like_uid').val();
        var type_id = $('.like_type_id').val();


        $("#shlike-loader-"+getID).html('<img src="images/icons/like.gif" alt="" />');

    $.post("eg?postId="+getID+ '&uid=' + uid + '&type_id=' + type_id, {


        }, function(response){
            $('#hiddenlikesval'+getID).remove();
            $('#likepanel'+getID).show();
            $('#likecontainer'+getID).append($(response).fadeIn('slow'));
            var bing=$('#hiddenlikesval'+getID).val();
            $('#lplbl'+getID).html(bing);
            $('#likePanel'+getID).css({'display':'block','width':'404px','padding':'5px 3px 5px 3px','background':'#ECEFF5'});
            $('#like-panel-'+getID).html('<input type="hidden" class="like_uid" id="like_uid'+getID+'" name="like_uid" value="'+uid+'"/><input type="hidden" class="like_type_id" id="like_type_id'+getID+'" name="like_type_id" value="'+type_id+'"/><div class="comtcontbtm unlwid"><a href="javascript: void(0)" id="post_id'+getID+'" class="Unlike liknlksh" title="Unlike"><span class="shareiconsbottom unlikeiconbtm"></span><span class="replyshare">unlike</span></a></div>');

            $("#shlike-loader-"+getID).html('');
        });
    });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T14:11:41+00:00Added an answer on June 3, 2026 at 2:11 pm

    Are you using jQuery 1.7? If so, you should use on, livequery is deprecated. If you’re using pre-1.7 you should use .delegate.

    For 1.7 change your function declaration to:

    $(document).on("click", ".LikeThis", function (e) {
        //your stuff here
    });
    

    For pre-1.7 change it to:

    $(document).delegate("click", ".LikeThis", function (e) {
        //your stuff here
    });
    

    On: http://api.jquery.com/on/

    Delegate: http://api.jquery.com/delegate/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hello friends i designed a floating div and its working perfectly but due to
Hello all having some trouble accessing elements from a returned JSON from Twitter. I'm
Hello friends i am running code given below which contains the setLogTimeEntery function and
Hello friends i need a book/ tutorials for rails without using scoffold. All the
hello friends i am having two frames, each frame has a html form which
Hello friends i have a form view i have handele all needed events successfully
hello friends i have a check box list which contains all the courses kept
Hello friends! I am working on a project where I am suppose to share
Hello friends a newbie question... The Issue is like this: I have a static
Hello friends I am running 2 applications on the same server and I wanted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.