X-Received: by 10.50.253.68 with SMTP id zy4mr5096442igc.0.1415101966516; Tue, 04 Nov 2014 03:52:46 -0800 (PST)
X-Received: by 10.140.101.19 with SMTP id t19mr1669qge.25.1415101966373; Tue, 04 Nov 2014 03:52:46 -0800 (PST)
Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!h15no5383751igd.0!news-out.google.com!u5ni19qab.1!nntp.google.com!i13no1136325qae.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: comp.lang.java.programmer
Date: Tue, 4 Nov 2014 03:52:46 -0800 (PST)
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=186.211.113.141; posting-account=ogoSWAoAAAA2ZLLN6n6_JfOeVntFpASe
NNTP-Posting-Host: 186.211.113.141
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7264d747-e211-491f-9b13-cfbc4e603420@googlegroups.com>
Subject: Can't concatenate Javascript and Struts tag
From: ricardo.cotia@gmail.com
Injection-Date: Tue, 04 Nov 2014 11:52:46 +0000
Content-Type: text/plain; charset=ISO-8859-1
Xref: csiph.com comp.lang.java.programmer:30274
I'm trying to create invisible divs with jQuery which in title will be populated dinamically by an struts tag, but its giving me invalid indexed property error:
Invalid indexed property 'niveisRisco['+<%=ctr%>+']
Heres the code i'm using:
$(function(){
var mapaAplicacaoJs = $('#MapaAplicacao area');
var mapaPerfilJs = $('#MapaPerfil area');