What do you want to do with that script?
Regards,
Michael
On 4/16/06, .net noobie <[EMAIL PROTECTED]> wrote:
>
> you could try
>
> if(res.value != null && res.value != "")
> {
> alert(TABLE_CONTENT);
> var tmp111222 = new Array();
> tmp111222 = "[" + res.value + "]";
> alert(tmp111222);
> debugger;
> setTimeout("doChange(tmp111222)", 100);
> }
>
>
> On 4/16/06, roni schuetz <[EMAIL PROTECTED]> wrote:
> >
> > workflow looks like following:
> >
> >
> > 1. page load
> > 2. after 10 seconds i make a call over ajax to check if data is
> > available (async call)
> > 3. retrive data if available:
> >
> > if(res.value != null && res.value != "")
> > {
> > alert(TABLE_CONTENT);
> > var tmp111222 = new Array();
> > tmp111222 = "[" + res.value + "]";
> > alert(tmp111222);
> > debugger;
> > doChange(tmp111222);
> > }
> >
> > the last row calls an additional function:
> > function doChange(d)
> > {
> > myTTP = new TTable(TABLE_CAPT, d, TABLE_LOOK);
> > }
> >
> > and now an error happens: [extract from the default core.ashx:]
> > initialize: function() {
> > this.queue = [];
> > this.requests = [];
> > this.timer = null;
> >
> > for(var i=0; i<2; i++) { // max 2 http
> > connections
> > this.requests[i] = new AjaxPro.Request();
> > this.requests[i].callback = function(res) {
> > var r = res.context;
> > res.context = r[3][1];
> > try {
> > r[3][0](res, this);
> > }catch(e){alert(e.description);}
> > };
> > this.requests[i].callbackHandle =
> > this.requests[i].callback.bind(this.requests[i]);
> > }
> >
> >
> > Message Box: 'undefined' is null or not an object
> >
> > any idea what i'm doing wrong here?
> >
> > thanks in advance.
> > roni
> >
> >
> > >
> >
>
>
> --
> .net noobie
>
> You know this framework is not big enough for the two of us!
>
> >
>
--
Kind regards,
Michael Schwarz
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---