raw javascript

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

raw javascript

mmimica
I've got a Ajax script callback like this:

html jQuery ajax script: [ :s | ...

How do I add a raw javascript string in that 's'? 


--
Milan Mimica
http://sparklet.sf.net

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: raw javascript

Paul DeBruicker



s << JSStream on: 'var one = 1;'.






   On 12-02-14 02:37 PM, Milan Mimica wrote:

> I've got a Ajax script callback like this:
>
> html jQuery ajax script: [ :s | ...
>
> How do I add a raw javascript string in that 's'?
>
>
> --
> Milan Mimica
> http://sparklet.sf.net
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: raw javascript

mmimica

On 14 February 2012 23:44, Paul DeBruicker <[hidden email]> wrote:

s << JSStream on: 'var one = 1;'.

Nope, that prints "JSStream", without quotas.


--
Milan Mimica
http://sparklet.sf.net

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: raw javascript

mmimica
On 14 February 2012 23:58, Milan Mimica <[hidden email]> wrote:

On 14 February 2012 23:44, Paul DeBruicker <[hidden email]> wrote:

s << JSStream on: 'var one = 1;'.

Nope, that prints "JSStream", without quotas.

Ah, just missing parenthesis. Took me all evening.


--
Milan Mimica
http://sparklet.sf.net

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside