[jQuery] Re: How to define var to ajax in onClick?

2007-07-08 Thread sharq
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

[jQuery] Re: How to define var to ajax in onClick?

2007-07-07 Thread George
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