CRM On Demand - Administration (MOSC)

MOSC Banner

in-line text and jquery

Has anyone been able to add a click event to the in-line editor (div id= ' DIV_SC_InlinePLEditor ')?  The editor div appears to be created on-the-fly only after clicking one of the in-line editable fields.  I've tried jquery's .on() function for delegated events to no avail.  .on() works for me outside Oracle's playground; but none of these are working for me in CRMOD:

$(window).on("click", "div", function(){
  alert($(this).text());
}); 

---
$("body").on("click", "button", function(){
  alert($(this).text());
});
---
$("body").on("click", "#BTN_SC_InlinePLEditor_Ok", function(){
  alert($(this).text());
});


This is in an action bar global web applet. I am using jquery 1.8

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center