function FunctioNNamE(thisvalue, returnobject)
{ $.ajax
({
data: { callfunction: "CallFunctioNNamE" ,KeY:thisvalue },
type: "GET",
url: "UrLNamE",
dataType: "xml",
success: function(data)
{if (data.getElementsByTagName(" seek")[0])
{
var _seek = data.getElementsByTagName(" seek")[0].childNodes[0]. nodeValue ;
if (_seek=='TRUE')
{var _reccount = data.getElementsByTagName(" reccount")[0].childNodes[0]. nodeValue ;
for (iix=0; iix<_reccount; iix++)
{return_data=data. getElementsByTagName(' UpdatEFielD')[iix].childNodes[ 0].nodeValue ;
returnobject.value = return_data ;}}
else
{_refresh('CallinGFielD',''); document.getElementById(' CallinGFielD').focus(); returnobject.value=""; }
} /*if ...seek */
} /*success:function*/
})
}
沒有留言:
張貼留言