Re: [Zope-dev] Using Java-Script with DTML

2000-06-30 Thread Monty Taylor
Re: [Zope-dev] Using Java-Script with DTML: --- In [EMAIL PROTECTED], Thomas Weholt [EMAIL PROTECTED] wrote: script language="javascript1.2 function ShowStuff(params){ var text = "dtml-in expr="sqlMethod(some_id=params" !-- this does not work, of course. How I can

[Zope-dev] Using Java-Script with DTML

2000-06-29 Thread Thomas Weholt
Hi I`m trying to send a parameter to a java-script function and then use that parameter in the java-script function to look up a record-set in a database with a dtml-method. With no luck so far. Ex. script language="javascript1.2 function ShowStuff(params){ var text = "dtml-in

Re: [Zope-dev] Using Java-Script with DTML

2000-06-29 Thread Hung Jung Lu
--- In [EMAIL PROTECTED], Thomas Weholt [EMAIL PROTECTED] wrote: script language="javascript1.2 function ShowStuff(params){ var text = "dtml-in expr="sqlMethod(some_id=params" !-- this does not work, of course. How I can I pass argument thru Javascript to the sqlMethod ?? ---