Jump to content

Recommended Posts

Posted

I Dynamic write a href on clientside page like "'<a href="#" onclick="ajaxRequest(null, 'testvalue', [''param0=A'',''param1=B''])">Test</a>'",when i click the href,on serverside how to catch the ajaxevent?

  • Administrators
Posted

In ajaxRequest first parameter can not be null.

 

You must provide an instance of an existing object.

 

Try this:

 

ajaxRequest(MainForm.form, "testvalue", ["param0=A","param1=B"]) 

 

on server side monitor AjaxEvent of MainForm.

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