Sunday, March 11, 2012

Passing an element id through javascript...

I'm not really sure what you are traying do do, but if I understand correctly you can use the context parameter when you call the webmethod like this:

function CallWebMethod()

Your fill method would look like this:

function Fill(result, eventArgs, context) {
var lblMsg = $get(context);
lblMsg.innerHTML = result;

For more information on webservices check out these links:

Hope this helps,

No comments:

Post a Comment