Difference between revisions of "Changing the Status from a Web Page View"

From SmartWiki
Jump to: navigation, search
 
Line 14: Line 14:
  
  
[[Category:System Management]][[Category:Custom Fields]][[Category:Browser Scripts]]
+
[[Category:System Management]][[Category:Custom Fields]][[Category:Browser Scripts]][[Category:JavaScript Examples]]

Revision as of 14:38, 20 March 2009

You can change the status of the associated item on a Web Page View using the following script:

At Level One:

document.getElementById("obj.fd_stageid").value = "8885";

At Level Two:

document.getElementById("obj.fd_statusid").value = "8885";

Where 8885 is the value associated with the status you wish to select.