Javascript - Call a function within a function?

210 views Asked by At

Possible Duplicate:
Javascript “onchange” inside Breezingforms framework

Within the function below, how can I call this function: logo_prodImgBySel('theImg',this.selectedIndex)

function ff_bfQuickMode1482721_action(element, action)
{
switch (action) {
    case 'change':     WHAT CODE SHOULD GO HERE???
  break;
    default:;
} // switch
} // ff_bfQuickMode1482721_action

I'm not sure of the location in this code block to call this function (which was defined earlier in the document. I'm working within requirements of a Joomla form builder.

1

There are 1 answers

1
VoronoiPotato On
function ff_bfQuickMode1482721_action(element, action)
{
switch (action) {
    case 'change': logo_prodImgBySel('theImg',this.selectedIndex);
  break;
    default:;
} // switch
} // ff_bfQuickMode1482721_action