Yes, that was simple, but i wasnt trying hard enugh ;P I wanted to achieve: onClick="javascript:str(stro = './page.html');" Very fast, simple and useful ;]
On 7 Lip, 21:33, George <[EMAIL PROTECTED]> wrote: > Can you describe this scenario a little more? It may not be quite > clear what you're trying to achieve. > Cheers, > Georgr > > > > > im loading my pages through ajax and id like to have one script for > > all pages by adding: > > var page = './page.html' > > to > > onClick="javascript:name();" > > Is that possible? How to do that?