Framing links by embedding python variables(IE vs Firefox)

0 views
Skip to first unread message

vimal

unread,
Jul 22, 2008, 6:00:52 AM7/22/08
to TurboGears
Hi,

In a window.opener.location("here comes the link") in javascript, I
framed links in both formats:

"/vs/create_association_cd?vs_id="+${str(vs_id)}+"&para_vs="+$
{str(para_vs)}+"&disk_id="+disk_id;
or
"/vs/create_association_cd?
vs_id=vs_id&para_vs=para_vs&disk_id="+disk_id;

It does work for me in firefox but not in ie

vs_id = 1
para_vs = 0
disk_id = 0

output:
------------------------------------------------------
{'vs_id': u'1\xb6_vs=0', 'disk_id': u'20'}

as per the output the vs_id and para_vs variables are joined and
disk_id is obtained correctly
any solution????

thanks,
vimal

vimal

unread,
Jul 22, 2008, 6:06:16 AM7/22/08
to TurboGears


On Jul 22, 3:00 pm, vimal <cool.vimalsm...@gmail.com> wrote:
> Hi,
>
> In a window.opener.location("here comes the link") in javascript, I
> framed links in both formats:

Correction in line 1

window.opener.location. = "here comes the link";
Reply all
Reply to author
Forward
0 new messages