[TYPO3-dev] eID empty response

Ries van Twisk typo3 at rvt.dds.nl
Tue Nov 24 15:16:52 CET 2009


Henjo,

the eID script called by means of URL returns you teh JSON/XML, right?
Does the success function (block) getting called? Try to put an Alert  
there, or use a javascript debugger.

Ries

On Nov 24, 2009, at 9:08 AM, Henjo Hoeksma wrote:

> Hi list,
>
> I just started using the eID thingy and want to use it to load a  
> dynamic form.
> I do not know why, but the file is being called, found but always  
> have an empty response. Even if I just put something plain in. If I  
> call the file directly I can get the output.
> I obviously miss something...
>
> This is the jQuery script I use to call the file:
> $(document).ready(wizard);
>
> function wizard(){
> 	$.ajax({
> 	  url: "index.php?eID=tx_knowledgebase_pi1",
> 	  cache: false,
> 	  success: function(data){
> 	    $("#js").append(data).css('border','1px solid green');
> 		alert("Data Loaded: " + data);
> 	  }
> 	});
> 	
> };
>
> Both the border and the alert show up, but the 'data' part is empty.
>
> Any clues?
>
> Thanks in advance.
>
> Henjo
> -- 
> Stylence | webdevelopment in style
> www.stylence.nl
>
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev


			regards, Ries van Twisk

- Join us on #TYPO3 on freenode | irc://chat.freenode.net/#typo3

-------------------------------------------------------------------------------------------------
tags: Freelance TYPO3 Glassfish JasperReports JasperETL Flex Blaze-DS  
WebORB PostgreSQL DB-Architect
email: ries at vantwisk.nl        web:   http://www.rvantwisk.nl/     
skype: callto://r.vantwisk










More information about the TYPO3-dev mailing list