I think you would want to append just the ampersands, not '&'
that's only to get the href past the HTML parser. Thus:
$('someImage').attr('src', '/umbraco/ImageGen.aspx?image=' +
originalSrc + '&width=' + width + '&height=' + height);
Danny
On Jan 31, 10:05 am, Karl Swedberg <[EMAIL PROTECTED]>
Hi Ove,
I think you sent me an email over at learningqjuery.com, but I'll
answer here for the record.
it would go something like this:
var height = $("#myElement").height();
var width = $("#myElement").width();
var originalSrc = $('someImage').attr('src');
$('someImage').attr('src', '/umbra
2 matches
Mail list logo