[jQuery] Re: how to insert javascript code instead of text with .before() or anything else jQuery has?

2008-08-20 Thread Cormac
Here: http://www.digit-life.com/test2.html It worked with some usual text. On Aug 19, 7:50 pm, Ryura [EMAIL PROTECTED] wrote: That should've worked. Can you provide a test-case page?

[jQuery] Re: how to insert javascript code instead of text with .before() or anything else jQuery has?

2008-08-19 Thread Ryura
That should've worked. Can you provide a test-case page? On Aug 19, 12:02 am, Cormac [EMAIL PROTECTED] wrote: Could you please tell me how to do it properly? I tried writing \/ script, but it didn't work. Thanks! On Aug 19, 4:38 am,Ryura[EMAIL PROTECTED] wrote: .before('google code

[jQuery] Re: how to insert javascript code instead of text with .before() or anything else jQuery has?

2008-08-18 Thread Ryura
.before('google code here') You'll want to escape any /script's. On Aug 18, 6:49 pm, Cormac [EMAIL PROTECTED] wrote: Hello everyone, I'm new to jQuery (and to programming, as a matter of fact). Still, I have this task: find a certain element on an html page and insert a google ad before it

[jQuery] Re: how to insert javascript code instead of text with .before() or anything else jQuery has?

2008-08-18 Thread Cormac
Could you please tell me how to do it properly? I tried writing \/ script, but it didn't work. Thanks! On Aug 19, 4:38 am, Ryura [EMAIL PROTECTED] wrote: .before('google code here') You'll want to escape any /script's. On Aug 18, 6:49 pm, Cormac [EMAIL PROTECTED] wrote: Hello everyone,