Thursday, September 30, 2010

_targ is undefined

Kind Of Exception :

_targ is undefined is a common java script error one encounters while using AJAX technology and when the javascript code is not able to find the specified target.

Reason Of The Exception :

This type of javascript error “_targ is undefined” occurs while you are trying to retrieve data at run time using AJAX technology . The problem occurs when the return value i.e the java script code is undefined , i.e your java code that is fetching the data and creating the javascript code is not able to find the return page properly.

Solution Of The Exception :

The solution for resolving the issue “_targ is undefined” is to check if you are writing a proper javascript code in java class that would run at run time so that it will able to fing the proper target where it has to show the result.

No comments:

Post a Comment