• Announcements

    • Gregg

      Looking for the wiki content?   12/20/2015

      Until I can transfer the wiki content over to the new Articles, you can find the old content here: http://www.greggsmith.net/wiki.
    • Gregg

      New site logo   01/06/2016

      A special thanks to brianshs for creating a new site logo!


Popular Content

Showing most liked content since 05/25/2017 in all areas

  1. Really strange, updated code: function zEditCr(value) { rs.data("<a href=\"#\" onclick=\"showEdit('" + crPersid + "');\">" + value + "</a>"); } <PDM_MACRO name=lsWrite text="var crPersid = \"@{list.persistent_id:}\";"> <PDM_MACRO name=lsCol hdr="ref_num" attr="ref_num" fmtfunc="zEditCr"> showEdit is a function used in a Right click menu.
    1 like
  2. Create a button ImgBtnCreate("btnwel", "Welcome", "welcome()", true, 0); The function to execute The java function to execute at the click of the button is as follows: <script type="text/javascript"> function welcome() { var oShell = new ActiveXObject("Shell.Application"); var commandtoRun = "C:\\Windows\\system32\\cscript.exe"; oShell.ShellExecute(commandtoRun, "c:\\test.vbs", "", "open", "1"); } </script>
    1 like