Using Javascript; how do I get the database name that I am currently inn, on the web?
Subject: Database Name in Javascript
easiest way is to create a passthrough cfd field like this""
You can substitute @subset(@dbname;-1) if you want the filename
Subject: RE: Database Name in Javascript
how do I call a notes field in JS instead of creating an HTML field.
Subject: RE: Database Name in Javascript
Same way, but then you’d need to use “Generate HTML for all fields”, which comes with its own problems. I’d prefer doing this in the HTML Head Content object:
“<script language="javascript" type="text/javascript">var dbTitle = '” + @DbTitle + “';”