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

  • Home
  • SEARCH
  • 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 8556663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T15:24:14+00:00 2026-06-11T15:24:14+00:00

Am trying to have jQuery simulate a click of ckFinder’s refresh button on loading

  • 0

Am trying to have jQuery simulate a click of ckFinder’s refresh button on loading a tab. Regardless of what code I use, the click does not register/alert. Using Firebug, I grabbed the refresh button source:

    <a onclick="window.parent.CKFinder._.callFunction(3, this); return false;" 
    onfocus="window.parent.CKFinder._.uiButtonFocus(1, event);" 
    onkeydown="window.parent.CKFinder._.uiButtonKeydown(1, event);" 
    onblur="this.style.cssText = this.style.cssText;" aria-labelledby="cke_10_label" 
    role="button" hidefocus="true" tabindex="-1" title="Refresh" 
    href="javascript:void('Refresh')" class="cke_button_refresh cke_off" id="cke_10" style="">
    <span class="cke_icon"></span>
    <span class="cke_label" id="cke_10_label">Refresh</span></a>

I’ve tried the following code samples, even going to root/generic tags, which don’t work.

   $('span').click(function(){
     var t = $(this).text();
     alert(t);
   });

  $("#cke_10").click(function() { alert('cke_10'); });
  $("a").click(function() { alert('a click'); });
  $("a#cke_10").click(function() { alert('a cke click'); });
  $("#cke_10_label").click(function() { alert('cke label'); });
  $("span#cke_10_label").click(function() { alert('span cke label'); });

Anyone have any luck with getting the Refresh button to alert when clicked?

  • 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-11T15:24:15+00:00Added an answer on June 11, 2026 at 3:24 pm

    It turns out, I had two IDs both set as “id” which was confusing the refresh. Then using this code: https://stackoverflow.com/a/4249906/850904 I managed to refresh the iFrame as needed.

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

Sidebar

Related Questions

I have some jquery code which I am trying to translate to YUI. I
I'm a bit confused with jQuery's .click() event. I'm trying to use the event
The thing I'm trying to have is a JQuery/JavaScript code that will automatically pass
I have connected to a mysql database and I am trying to use jquery
Basically I am trying to have jQuery replace the button with the form and
I have this code here that should send off an alert... jQuery(.wpcart_gallery .thickbox).click(function($){ alert('hi');
I'm trying to have a jQuery UI event fire only if it meets the
ok i have 6 buttons, im trying to have a jquery listener for when
I have a jQuery plugin I am trying to add a callback function for.
I have some jQuery tabs on a website and I am trying to make

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.