Ok ... here it goes! what i want to do is to load the result of a php script in a layer, ultimately directly to a variable! I know several ways That i do not want to use! like : (1)loading into an iframe and then extracting the content to fill up my layer! (2)loading a .js file dynamically BTW: i do not care to run in ns4 and ie only solutions do not interest me! p.s.: i am not looking for a script but direction towards a solution (i rather lean fishing than getting a free meal!) thanks guys!