[Seaside] Putting a javascript variable in a JQuery ID
Dave
lasmiste at gmail.com
Mon Jul 18 14:26:40 UTC 2016
Hi there
I have to read a javascript variable (myResultingID), this is the script:
html
html:
''
and I have to use it as a JQuery id, but if I write: html jQuery id:
'myResultingID', Seaside generates $('#myResultingID') see:
html
html:
''
So I found an ugly solution i.e. replacing the Seaside generated string with
the javascript right concatenation, see here:
html
html:
''
Is there a better way?
Thanks
Dave
--
View this message in context: http://forum.world.st/Putting-a-javascript-variable-in-a-JQuery-ID-tp4906951.html
Sent from the Seaside General mailing list archive at Nabble.com.
More information about the seaside
mailing list