Aug 03
Michael Benedict Can you use a Lasso Variable in a Javascipt function??
Aug 03, 2012; 19:00
Michael Benedict
Can you use a Lasso Variable in a Javascipt function??
Simple example.. Here is what I was trying to do. I simply want to define a
Javascript that uses Lasso Variables.
window.opener.location.href="[$VarOne]?-Token.session_ID=[$VarTwo]
Is this possible?
Thanks
Michael
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 03
Marc Vos Re: Can you use a Lasso Variable in a Javascipt function??
Aug 03, 2012; 19:00
Marc Vos
Re: Can you use a Lasso Variable in a Javascipt function??
Yes, it is. I do this frequently.
- -
Marc
Sent from my iPhone
On 3 aug. 2012, at 23:34, Michael Benedict <michael@intelligentreg.com> wrote:
> Simple example.. Here is what I was trying to do. I simply want to define a
> Javascript that uses Lasso Variables.
>
> window.opener.location.href="[$VarOne]?-Token.session_ID=[$VarTwo]
>
> Is this possible?
>
> Thanks
>
> Michael
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> Lasso@lists.lassosoft.com
> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <Lasso-request@lists.lassosoft.com>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 03
Jolle Carlestam Re: Can you use a Lasso Variable in a Javascipt function??
Aug 03, 2012; 19:00
Jolle Carlestam
Re: Can you use a Lasso Variable in a Javascipt function??
3 aug 2012 kl. 23:34 skrev Michael Benedict:
> Simple example.. Here is what I was trying to do. I simply want to define a
> Javascript that uses Lasso Variables.
>
> window.opener.location.href="[$VarOne]?-Token.session_ID=[$VarTwo]
>
> Is this possible?
It is indeed and we use it a lot. There are some caveats.
Lasso code won't run within html comments.
You can encounter conflicts with dual usage of square brackets. Lasso uses them as well as javascript.
Some attention need to be put on how you use quotes. Basically decide if javascript or Lasso should use single and the other double. If that's not enough then use escaping where needed.
HDB
Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 03
Michael Benedict RE: Can you use a Lasso Variable in a Javascipt function??
Aug 03, 2012; 19:00
Michael Benedict
RE: Can you use a Lasso Variable in a Javascipt function??
Marc,
Well I figured it out. But only because you said it would work.
Many thanks.
I had a freaking comment out in the Function and Lasso couldn't see it ....
lol
-----Original Message-----
From: lasso-bounces@lists.lassosoft.com
[mailto:lasso-bounces@lists.lassosoft.com] On Behalf Of Marc Vos
Sent: Friday, August 03, 2012 2:38 PM
To: lasso@lists.lassosoft.com
Subject: Re: Can you use a Lasso Variable in a Javascipt function??
Yes, it is. I do this frequently.
- -
Marc
Sent from my iPhone
On 3 aug. 2012, at 23:34, Michael Benedict <michael@intelligentreg.com>
wrote:
> Simple example.. Here is what I was trying to do. I simply want to
> define a Javascript that uses Lasso Variables.
>
> window.opener.location.href="[$VarOne]?-Token.session_ID=[$VarTwo]
>
> Is this possible?
>
> Thanks
>
> Michael
>
> #############################################################
> This message is sent to you because you are subscribed to the mailing
> list Lasso Lasso@lists.lassosoft.com To unsubscribe, E-mail to:
> <Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <Lasso-request@lists.lassosoft.com>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 04
Lubos Voros Re: Can you use a Lasso Variable in a Javascipt function??
Aug 04, 2012; 19:00
Lubos Voros
Re: Can you use a Lasso Variable in a Javascipt function??
Yes,
Simple example from our application:
<script>
var ses = "[$usr_session]";
var group = "[$user_group_selected]";
</script>
Lubos
> Michael Benedict <mailto:michael@intelligentreg.com>
> 3. srpna 2012 23:34
> Simple example.. Here is what I was trying to do. I simply want to
> define a
> Javascript that uses Lasso Variables.
>
> window.opener.location.href="[$VarOne]?-Token.session_ID=[$VarTwo]
>
> Is this possible?
>
> Thanks
>
> Michael
>
> #############################################################
> This message is sent to you because you are subscribed to
> the mailing list Lasso
> Lasso@lists.lassosoft.com
> To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
> Send administrative queries to <Lasso-request@lists.lassosoft.com>
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>