[jQuery] Re: Invalid Json Primitive

2009-01-05 Thread tep
any comment regarding "uncaught exception: Access to restricted URI denied (NS_ERROR_DOM_BAD_URI)" issue ? tep wrote: > > hi michael, > > I tried as you mentioned below but this time i am getting > "uncaught exception: Access to restricted URI denied > (NS_ERROR_DOM_BAD_URI)" > > is the j

[jQuery] Re: Invalid Json Primitive

2009-01-04 Thread tep
hi michael, I tried as you mentioned below but this time i am getting "uncaught exception: Access to restricted URI denied (NS_ERROR_DOM_BAD_URI)" is the json with jquery right way to do that or i should try alternative ways ? could you share any sample with us if you have any ? thanks tep

[jQuery] Re: Invalid Json Primitive

2009-01-02 Thread Balazs Endresz
Also, var params = '{wdgtype:"1"}'; should be var params = {wdgtype:"1"}; On Jan 1, 11:35 am, tep wrote: > Hello all, > > I am trying to create a widget within .NET that's why using JSONP. But when > i run the code below, i get the error 'Invalid Json Primitive' on client > side before calling w

[jQuery] Re: Invalid Json Primitive

2009-01-01 Thread Michael Geary
Since you're not making a cross-domain request, why are you using JSONP instead of regular JSON? I would think you would just use JSON. JSONP uses a

[jQuery] Re: Invalid Json Primitive

2009-01-01 Thread tep
Any comment, waiting your help tep wrote: > > Hello all, > > I am trying to create a widget within .NET that's why using JSONP. But > when i run the code below, i get the error 'Invalid Json Primitive' on > client side before calling web service , how can i handle that ? > > function test2(