Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call async on click from img
#1
I use Intraweb together with layout manager. When populating table with some images I do this in IWTemplateProcessorHTML1UnknownTag:

VValue := '<a href="#" onclick="SubmitClickConfirm(''btnSend'',''' + 'somekey' + ''', true, '''');return false;">' + '<img src="images\send.png" />' + '</a>';

Behind btnSend I have some code. And that is full sumbit of the form which is ok in this case.

But now I want to call OnAsyncClick of the button when user clicks on that img. Any ideas what to do?

Regards

Grega
Reply


Messages In This Thread
Call async on click from img - by odisej2 - 11-13-2018, 07:42 AM
RE: Call async on click from img - by odisej2 - 11-14-2018, 06:56 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)