Hi guys, I've managed to get that JS trick to work, as well as other asp/JS tricks where asp alone couldn't do what i needed.
I'll see if i can find the exact code I used and post it. - Luca On Thu, Oct 23, 2008 at 6:15 AM, Simon Lewis, UK <[EMAIL PROTECTED]> wrote: > > Hi Jonathan, > > Thanks for your post. I agree that it sounds way too good to be > true! I tried it, and unfortunately couldn't get it to work. That > said, I can't believe they'd post that JavaScript trick if it hadn't > at least worked somewhere, so I'd be interested to have the URL of > where you found it. Would you mind? Maybe there's some other setting > that I need to check in RedDot for it to work. It does seem odd > though that you can call a JS function from ASP... I've never seen > that done before. I tried a simpler version of calling a JS function > using ASP, and couldn't get even that to work. If you could send that > URL...? Many thanks. > > Simon. > > On Oct 23, 10:48 am, Jonathan W <[EMAIL PROTECTED]> wrote: >> Simon's solution sounds good. I also have an untested JavaScript trick >> for this from RedDot UK, which puts the placeholder content inside a >> JavaScript comment inside a JavaScript function, and uses >> function.toString() to get at the function's source code and a regular >> expression to extract it from the comment. Very clever, if it works - >> looking at it I can't believe that you can call a JavaScript function >> from inside ASP, but I've never used runat="server" before. Simon's >> solution is cleaner as long as the change doesn't have any unwanted >> side-effects. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/RedDot-CMS-Users?hl=en -~----------~----~----~----~------~----~------~--~---
