With the following HTML javascript, I get a rather large "Object
reference not set to an instance of an object" error:

<script language="javascript">
                function getStateName(obj)
                {
                CSS.WebForm1.GetStateName(obj.value,CallbackFunc);
                }
                //function CallbackFunc(res)
                //{
                //      if (res.error)
                //      {
                //              alert(res.error);
                //      }
                        //else
                        //{
                        //      alert(res.value);
                        //}
                //document.getElementById('txtStateName').innerHTML = res.value;
                //}
                function CallbackFunc(res)
                {
                alert(AjaxPro.toJSON(res));
                }
                
                </script>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to