Jump to content

Generate a AjaxRequest in uniHTMLMemo ..


Recommended Posts

Hi,

i want to create a link or button in uniHtmlMemo - and onClick - a AjaxRequest should send to Mainform.memMonitor 

 

i tried:

<b>hello</b>
<a href="javascript:window.parent.ajaxRequest(MainForm.memMonitor,'Action', ['param0=24256']);">action1</a> 

 

..but didn´t work .. 😞 it gives error in chrome dev-tools:   Uncaught ReferenceError: MainForm is not defined  at <anonymous>:1:27

How is the correct way to do it?

 

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...