Jump to content

How ti fire Ajax event from HTML in TuniHTMLFrame


Recommended Posts

Posted

Hi all.

I have a TuniHTMLFrame, HTML in this frame contain scripts and ExtJs checkboxes and buttons.

Is there some way to fire TuniHTMLFrame.OnAjaxEvent when I press some button or checkbox ?

 

WBR

Janex

Posted

In the onClick call this:

 

 ajaxRequest( myForm.myUniHTMLFrame , "myEventName" , [ "myParameter01=01" , "myParameter02=02" ]);

 

 

May I ask ,

why did you place the buttons and checkboxes in the HTMLFrame instead of creating them on the UniForm ?

Posted

In the onClick call this:

 

 ajaxRequest( myForm.myUniHTMLFrame , "myEventName" , [ "myParameter01=01" , "myParameter02=02" ]);

 

 

May I ask ,

why did you place the buttons and checkboxes in the HTMLFrame instead of creating them on the UniForm ?

 

Excelent, it work :) Thank!

>> ... instead of creating them on the UniForm

Because I need to buid grid/table with checkbox column, but checkboxes must be NOT in all records.

With DBGrid I cannot do this ...

  • 1 month later...
Posted

I am a newbie in ajax. Could you attach a small example in HTML (ajax) with two buttons that call a function with parameters, and therefore the consideration unigui code that handles ajax calls to unigui?

Thanks

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...