[Seaside] Re: I reported an error in error list - it was incorrectly
classified as 'ignored'
intrader.intrader at gmail.com
Sat Feb 12 19:36:32 UTC 2011
Lukas, Bob and Avi
I have simplified the test
| x |
x := 100.
callback: [ x inspect ];
with: x ].
with: 'just some content'.
((html jQuery expression: '#external_links a') onClick: 'return
confirm("You are going to visit: "+ this.href)');
with: 'Attach Click'
Lukas, the duplicated ids are intentional to test the selection <a> from all the
getElementsByTagName. You just get an array - jQuery handles this filter
Using the console of your browser you can see that $('#external_links') returns
an array with two elements.
The example code works as expected;
I thank you for your trouble and help.
More information about the seaside