Aradhana
New Creator

Query regarding onClick of Fsbutton

Hi All,

 

I am trying to give a script call on click of button, i am writtin below code but while clicking on button the script "getglossarvalue" is not getting called.

This is template code:

<p><a href="$CMS_REF(#global.node)$/forceRefresh=1?glossar=true">Glossar ein</a></p>
<span$CMS_VALUE(
fsbutton(
editorName:"get_glossar",
parameter:{
"page":#global.page.id,
"body":"left_column"
}
)
)$></span>

 

This is form code:

 

<FS_BUTTON
name="get_glossar"
hidden="yes"
icon="fs:new"
onClick="script:getglossarvalue"
style="firstspirit"
useLanguages="no">
<LANGINFOS>
<LANGINFO lang="*" label="Create section"/>
<LANGINFO lang="DE" label="Absatz anlegen"/>
</LANGINFOS>
</FS_BUTTON>

 

Now is there anything that i am missing in this code.because onClick is not working.that script is not getting called.

Any one can provide inputs how can i call this  script.

 

Thanks

0 Kudos
0 Replies