You are here: Re: Yahoo! UI + PHP Array « PHP Programming Language « IT news, forums, messages
Re: Yahoo! UI + PHP Array

Posted by Tyno Gendo on 04/13/07 14:01

Sascha Deus wrote:
> I'm not really good in english, but i will try it!
>
> Hello,
>
> i don't be able to fill the treeview component with data of an array,
> filled by a php script.
>
> Could any body help me, please?
>
> The Examples of yui are really nice, but only in html and javascript.
> I need an ajax.updater who calls a php script and fills in the subnodes
> dynamically.
>
>
> Rami Elomaa schrieb:
>> Sascha Deus kirjoitti:
>>> Hallo NG,
>>>
>>> ich möchte gerne die Yahoo UI TreeView Komponenten mit Daten befüllen.
>>> die aus PHP per ajay.request asynchron geladen werden.
>>
>> Could you please ask in English?
>>
>> Err... Können Sie bitte im Englische fragen?
>> I'm sorry, I'm terrible at german... ^_^
>>

I haven't looked, but you are either going to have to call your PHP with
Ajax whenever you need your tree changing, and either
a) Send back a delimited string with data in it, parsing with Javascript
or to build a javascript array
b) Use PHP to dynamically build your javascript code and then use
equivalent of eval in javascript to execute the returned code?

If i get time later i might take a look, just very busy at the mo.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация